diff options
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 |