diff options
author | Jan Cholasta <jcholast@redhat.com> | 2015-09-01 13:22:04 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-09-17 11:08:43 +0200 |
commit | 33aba6f35e43b5febf1751de4cef2863749f93e7 (patch) | |
tree | f0aef38d28375a2486047b6e72f1cb13c47d7806 /ipatests/test_xmlrpc/test_baseldap_plugin.py | |
parent | ba5201979dfddcb4ca6bb1b68e786cb964e50bb6 (diff) | |
download | freeipa-33aba6f35e43b5febf1751de4cef2863749f93e7.tar.gz freeipa-33aba6f35e43b5febf1751de4cef2863749f93e7.tar.xz freeipa-33aba6f35e43b5febf1751de4cef2863749f93e7.zip |
Use byte literals where appropriate
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc/test_baseldap_plugin.py')
-rw-r--r-- | ipatests/test_xmlrpc/test_baseldap_plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipatests/test_xmlrpc/test_baseldap_plugin.py b/ipatests/test_xmlrpc/test_baseldap_plugin.py index 6da56262b..477772c00 100644 --- a/ipatests/test_xmlrpc/test_baseldap_plugin.py +++ b/ipatests/test_xmlrpc/test_baseldap_plugin.py @@ -201,13 +201,13 @@ def test_entry_to_dict(): DN('cn=test'), textattr=[u'text'], dnattr=[DN('cn=test')], - binaryattr=['\xffabcd'], + binaryattr=[b'\xffabcd'], attributelevelrights=rights) the_dict = { u'dn': u'cn=test', u'textattr': [u'text'], u'dnattr': [u'cn=test'], - u'binaryattr': ['\xffabcd'], + u'binaryattr': [b'\xffabcd'], u'attributelevelrights': rights} assert_deepequal( baseldap.entry_to_dict(entry, all=True, raw=True), |