diff options
author | Petr Viktorin <pviktori@redhat.com> | 2015-09-18 17:20:08 +0200 |
---|---|---|
committer | Tomas Babej <tbabej@redhat.com> | 2015-10-13 14:16:32 +0200 |
commit | 929c3d1265dcb7af375d433a7e0b44193e19ed2f (patch) | |
tree | c7a7fe7b9d6cc0c0237b51acda513778ee25efcc /ipalib/request.py | |
parent | 59d87d53b10a201ef03077c96011523bdd1342e8 (diff) | |
download | freeipa-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 'ipalib/request.py')
0 files changed, 0 insertions, 0 deletions