Fix non py3-compatible test in CI #22

Merged
mpepin merged 2 commits from Kerl/fix-test into master 2018-10-06 23:15:54 +02:00
Showing only changes of commit fc16b3fedf - Show all commits

View file

@ -375,4 +375,4 @@ class LongTermClipperTests(CASTestCase):
for uid in uids:
with self.assertRaises(ValueError) as cm:
get_ldap_infos(uid)
self.assertIn(uid, cm.exception.message)
self.assertIn(uid, str(cm.exception))