summaryrefslogtreecommitdiffstats
path: root/ipatests/util.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2015-09-18 17:20:08 +0200
committerTomas Babej <tbabej@redhat.com>2015-10-13 14:16:32 +0200
commit929c3d1265dcb7af375d433a7e0b44193e19ed2f (patch)
treec7a7fe7b9d6cc0c0237b51acda513778ee25efcc /ipatests/util.py
parent59d87d53b10a201ef03077c96011523bdd1342e8 (diff)
downloadfreeipa-929c3d1265dcb7af375d433a7e0b44193e19ed2f.tar.gz
freeipa-929c3d1265dcb7af375d433a7e0b44193e19ed2f.tar.xz
freeipa-929c3d1265dcb7af375d433a7e0b44193e19ed2f.zip
x509: Port to Python 3
In python 3 , `bytes` has the buffer interface, and `buffer` was removed. Also, invalid padding in base64-encoded data raises a ValueError rather than TypeError. In tests, use pytest.assert_raises for more correct exception assertions. Also, get rid of unused imports in the tests Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipatests/util.py')
0 files changed, 0 insertions, 0 deletions