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

This commit is contained in:
Jason Gerard DeRose
2009-05-11 02:34:52 -06:00
committed by Rob Crittenden
parent 1dd85475fc
commit ae38a2461f
5 changed files with 135 additions and 106 deletions

View File

@@ -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):
"""