diff options
author | Petr Viktorin <pviktori@redhat.com> | 2015-09-23 13:45:38 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-10-07 10:27:20 +0200 |
commit | f82d3da1e8e5dc1d0716201af5abb724a8e78fde (patch) | |
tree | 6f73ef5b87c864aeff04b80d66c408ce3b752665 | |
parent | dd0bfefae8a4fef9b1b408d2397a61e55f1c7f90 (diff) | |
download | freeipa-f82d3da1e8e5dc1d0716201af5abb724a8e78fde.tar.gz freeipa-f82d3da1e8e5dc1d0716201af5abb724a8e78fde.tar.xz freeipa-f82d3da1e8e5dc1d0716201af5abb724a8e78fde.zip |
Appease pylint
Reviewed-By: David Kupka <dkupka@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
-rw-r--r-- | ipatests/test_ipalib/test_rpc.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipatests/test_ipalib/test_rpc.py b/ipatests/test_ipalib/test_rpc.py index f50f08a2b..827788063 100644 --- a/ipatests/test_ipalib/test_rpc.py +++ b/ipatests/test_ipalib/test_rpc.py @@ -65,6 +65,7 @@ def test_round_trip(): # standard library are correct: assert_equal(dump_n_load(utf8_bytes), unicode_str) assert_equal(dump_n_load(unicode_str), unicode_str) + # "Binary" is not "str". pylint: disable=no-member assert_equal(dump_n_load(Binary(binary_bytes)).data, binary_bytes) assert isinstance(dump_n_load(Binary(binary_bytes)), Binary) assert type(dump_n_load(b'hello')) is bytes @@ -101,6 +102,7 @@ def test_xml_wrap(): assert f({}, API_VERSION) == dict() b = f(b'hello', API_VERSION) assert isinstance(b, Binary) + # "Binary" is not "dict" or "tuple". pylint: disable=no-member assert b.data == b'hello' u = f(u'hello', API_VERSION) assert type(u) is unicode |