summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2009-06-16 16:51:29 +0200
committerRob Crittenden <rcritten@redhat.com>2009-07-02 13:33:02 -0400
commit89993d9939e938d7e3305da59c3b61aa84792593 (patch)
tree77f7d2daec83c5f588a8ca41a4277c272bfcedc9 /tests
parentc2d2344268831aebb810c1ebef54e0bb456bfc0e (diff)
downloadfreeipa-89993d9939e938d7e3305da59c3b61aa84792593.tar.gz
freeipa-89993d9939e938d7e3305da59c3b61aa84792593.tar.xz
freeipa-89993d9939e938d7e3305da59c3b61aa84792593.zip
Fix Encoder.decode test.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_ipalib/test_encoder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ipalib/test_encoder.py b/tests/test_ipalib/test_encoder.py
index f677e8524..a7d77d24d 100644
--- a/tests/test_ipalib/test_encoder.py
+++ b/tests/test_ipalib/test_encoder.py
@@ -113,7 +113,7 @@ class test_Encoder(ClassChecker):
expected = [u'1', [u'1', u'2', u'3']]
assert_equal(o.decode(['1', ['1', '2', '3']]), expected)
# tuples
- expected = (_test_str_d, '1')
+ expected = (_test_str_d, 1)
assert_equal(o.decode((_test_str_e, 1)), expected)
expected = (u'1', (u'1', u'2', u'3'))
assert_equal(o.decode(('1', ('1', '2', '3'))), expected)