Commit 73908662 authored by Nicolas Delaby's avatar Nicolas Delaby

loadConfig function is useless


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42062 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8409e276
......@@ -54,15 +54,10 @@ def make_suite(test_case):
return suite
def loadConfig(path):
config.read(path)
def startFakeEnvironment(start_openoffice=True, conf_path=None):
"""Create a fake environment"""
if not conf_path and len(sys.argv) >= 1:
conf_path = sys.argv[1]
loadConfig(conf_path)
config.read(conf_path)
uno_path = config.get("app:main", "uno_path")
working_path = config.get("app:main", "working_path")
virtual_display_id = int(config.get("app:main", "virtual_display_id"))
......
......@@ -80,7 +80,7 @@ def run():
'%s%s' % (test_name, python_extension))):
exit("%s not exists\n" % test_name)
from cloudoooTestCase import loadConfig, startFakeEnvironment, stopFakeEnvironment
from cloudoooTestCase import startFakeEnvironment, stopFakeEnvironment
sys.path.append(ENVIRONMENT_PATH)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment