freeipa/ipatests/test_cmdline
Christian Heimes c925b44f43 Load certificate files as binary data
In Python 3, cryptography requires certificate data to be binary. Even
PEM encoded files are treated as binary content.

certmap-match and cert-find were loading certificates as text files. A
new BinaryFile type loads files as binary content.

Fixes: https://pagure.io/freeipa/issue/7520
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
2018-04-30 20:42:00 +02:00
..
__init__.py pytest 3.x compatibility 2017-03-27 18:03:14 +02:00
cmdline.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
test_cli.py Load certificate files as binary data 2018-04-30 20:42:00 +02:00
test_help.py test_help: test "help" command without cache 2017-12-19 14:03:24 +01:00
test_ipagetkeytab.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00