From cda0f85ce531a3250d745d73e099a47ec6787279 Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Mon, 25 May 2009 10:12:40 +0200 Subject: Fix bug in Encoder where tuples were encoded into lists. Fix Encoder and Command.args_options_2_entry unit tests. --- tests/test_ipalib/test_frontend.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test_ipalib/test_frontend.py') diff --git a/tests/test_ipalib/test_frontend.py b/tests/test_ipalib/test_frontend.py index 0116b1b5..170891ee 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 -- cgit