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_ipaserver | |
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_ipaserver')
-rw-r--r-- | ipatests/test_ipaserver/test_ldap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipatests/test_ipaserver/test_ldap.py b/ipatests/test_ipaserver/test_ldap.py index c3a9717c5..47d37c9bf 100644 --- a/ipatests/test_ipaserver/test_ldap.py +++ b/ipatests/test_ipaserver/test_ldap.py @@ -306,7 +306,7 @@ class test_LDAPEntry(object): assert nice == [2, 3, u'5'] assert raw == ['3', '5', '2'] - raw = ['a', 'b'] + raw = [b'a', b'b'] e.raw['test'] = raw assert e['test'] is not nice assert e['test'] == [u'a', u'b'] @@ -314,7 +314,7 @@ class test_LDAPEntry(object): nice = 'not list' e['test'] = nice assert e['test'] is nice - assert e.raw['test'] == ['not list'] + assert e.raw['test'] == [b'not list'] e.raw['test'].append('second') assert e['test'] == ['not list', u'second'] |