diff options
author | Pavel Zuna <pzuna@redhat.com> | 2009-05-25 10:12:40 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-06-10 11:51:10 -0400 |
commit | cda0f85ce531a3250d745d73e099a47ec6787279 (patch) | |
tree | d195d8b31b40321ed25de2de0ae21cf2a07e67fc /tests/test_ipalib/test_frontend.py | |
parent | 16f19990aeb68df935ea6be83c99d2478dcd0fa6 (diff) | |
download | freeipa-cda0f85ce531a3250d745d73e099a47ec6787279.tar.gz freeipa-cda0f85ce531a3250d745d73e099a47ec6787279.tar.xz freeipa-cda0f85ce531a3250d745d73e099a47ec6787279.zip |
Fix bug in Encoder where tuples were encoded into lists. Fix Encoder and Command.args_options_2_entry unit tests.
Diffstat (limited to 'tests/test_ipalib/test_frontend.py')
-rw-r--r-- | tests/test_ipalib/test_frontend.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_ipalib/test_frontend.py b/tests/test_ipalib/test_frontend.py index 0116b1b50..170891eea 100644 --- a/tests/test_ipalib/test_frontend.py +++ b/tests/test_ipalib/test_frontend.py @@ -461,7 +461,10 @@ class test_Command(ClassChecker): args = ('one', 'two') kw = dict(three=('three1', 'three2'), four='four') + (api, home) = create_test_api() + api.finalize() o = my_cmd() + o.set_api(api) o.finalize() e = o.run(*args, **kw) assert type(e) is dict |