diff options
Diffstat (limited to 'ipalib/tests')
-rw-r--r-- | ipalib/tests/test_plugable.py | 2 | ||||
-rw-r--r-- | ipalib/tests/test_public.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/tests/test_plugable.py b/ipalib/tests/test_plugable.py index 8ce98610..3b082082 100644 --- a/ipalib/tests/test_plugable.py +++ b/ipalib/tests/test_plugable.py @@ -601,7 +601,7 @@ def test_API(): r(base1_plugin2) # Test API instance: - api() # Calling instance performs finalization + api.finalize() def get_base(b): return 'base%d' % b diff --git a/ipalib/tests/test_public.py b/ipalib/tests/test_public.py index 4a445140..eb19f28a 100644 --- a/ipalib/tests/test_public.py +++ b/ipalib/tests/test_public.py @@ -374,4 +374,4 @@ def test_PublicAPI(): pass api.register(cmd2) - api() + api.finalize() |