Fix broken Python2 test
Fix broken Python2 test

Oh that joy and celebration when we can drop Python 2 support :-)

privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea