From ae38a2461fec2aaa39b18a613e3d127a25fc5fe7 Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Mon, 11 May 2009 02:34:52 -0600 Subject: Force xmlrpc tests to run with in_tree=True so config files in /etc/ipa/ don't get read; cleaned up config.Env automagic with regard to running in-tree vs. installed --- ipalib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/__init__.py') diff --git a/ipalib/__init__.py b/ipalib/__init__.py index a657ea97..0c36aa18 100644 --- a/ipalib/__init__.py +++ b/ipalib/__init__.py @@ -923,5 +923,5 @@ def create_api(mode='dummy'): api = create_api(mode=None) if os.environ.get('IPA_UNIT_TEST_MODE', None) == 'cli_test': - api.bootstrap(context='cli', in_server=False) + api.bootstrap(context='cli', in_server=False, in_tree=True) api.finalize() -- cgit