diff options
author | Petr Viktorin <pviktori@redhat.com> | 2016-01-26 13:56:54 +0100 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-02-17 10:41:29 +0100 |
commit | d3851fd76fd0389775edde0e5337160a7561e247 (patch) | |
tree | 95852a39193c81c0eb7498ded5a39b2d0f7f6a6a /ipatests/test_ipapython | |
parent | fe7bd367285618245ce1e203b49418d2ab675dbb (diff) | |
download | freeipa-d3851fd76fd0389775edde0e5337160a7561e247.tar.gz freeipa-d3851fd76fd0389775edde0e5337160a7561e247.tar.xz freeipa-d3851fd76fd0389775edde0e5337160a7561e247.zip |
ipautil.run, kernel_keyring: Encoding fixes for Python 3
https://fedorahosted.org/freeipa/ticket/5638
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipatests/test_ipapython')
-rw-r--r-- | ipatests/test_ipapython/test_ipautil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/test_ipapython/test_ipautil.py b/ipatests/test_ipapython/test_ipautil.py index 8a437f83e..52f87c7f6 100644 --- a/ipatests/test_ipapython/test_ipautil.py +++ b/ipatests/test_ipapython/test_ipautil.py @@ -444,7 +444,7 @@ def test_run_no_capture_output(): def test_run_bytes(): result = ipautil.run(['echo', b'\x01\x02'], capture_output=True) assert result.returncode == 0 - assert result.output == b'\x01\x02\n' + assert result.raw_output == b'\x01\x02\n' def test_run_decode(): |