Commit f6ca4f1b authored by Jérome Perrin's avatar Jérome Perrin

don't guess path from INSTANCE_HOME

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28878 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7c06e986
......@@ -50,7 +50,7 @@ REFERENCE_REGULAR_EXPRESSION = "(?P<reference>[A-Z]{3,10})(-(?P<language>[a-z]{2
def makeFilePath(name):
return os.getenv('INSTANCE_HOME') + '/../Products/ERP5OOo/tests/test_document/' + name
return os.path.join(os.path.dirname(__file__), 'test_document', name)
def makeFileUpload(name, as_name=None):
if as_name is None:
......
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