From c26a3c8542472a2d3931c7dc82edfd684354af6b Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Fri, 7 Nov 2008 02:26:38 -0700 Subject: Finished fist draft of plugin tutorial in ipalib/__init__.py docstring --- tests/util.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/util.py') diff --git a/tests/util.py b/tests/util.py index aa0299fd..d7aaae89 100644 --- a/tests/util.py +++ b/tests/util.py @@ -219,8 +219,7 @@ def get_api(**kw): instance and a `TempHome` instance. """ home = TempHome() - api = ipalib.get_standard_api() - api.env.mode = 'unit_test' + api = ipalib.get_standard_api(mode='unit_test') api.env.in_tree = True for (key, value) in kw.iteritems(): api.env[key] = value -- cgit