From 83d6c95e4636049a5bcedb533ad49f6e2cf79dfe Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Mon, 27 Oct 2008 23:39:43 -0600 Subject: API.load_plugins() no longer takes dry_run=False kwarg and instead checks in env.mode == 'unit_test' to decide whether to load the plugins; it also only loads ipa_server.plugins in env.in_server is True --- tests/test_ipalib/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_ipalib/test_cli.py') diff --git a/tests/test_ipalib/test_cli.py b/tests/test_ipalib/test_cli.py index c4740875..7b3239d7 100644 --- a/tests/test_ipalib/test_cli.py +++ b/tests/test_ipalib/test_cli.py @@ -110,7 +110,7 @@ class test_CLI(ClassChecker): frontend.Application, backend.Backend, ) - api.env.mode = 'unit-test' + api.env.mode = 'unit_test' api.env.in_tree = True o = self.cls(api, argv) assert o.api is api -- cgit