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 --- tests/test_xmlrpc/xmlrpc_test.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests/test_xmlrpc') diff --git a/tests/test_xmlrpc/xmlrpc_test.py b/tests/test_xmlrpc/xmlrpc_test.py index 83ee7b5d9..42309add1 100644 --- a/tests/test_xmlrpc/xmlrpc_test.py +++ b/tests/test_xmlrpc/xmlrpc_test.py @@ -31,14 +31,6 @@ from ipalib import errors # individually instead of at the top-level. If API.bootstrap() # has already been called we continue gracefully. Other errors will be # raised. -try: - api.bootstrap(context='cli') - api.finalize() -except StandardError, e: - if str(e) == "API.bootstrap() already called": - pass - else: - raise e class XMLRPC_test(object): """ -- cgit