Commit ef717d41 authored by Thibaut Frain's avatar Thibaut Frain

Path modification for launching test in slapos

parent 92683119
......@@ -13,11 +13,11 @@ class OFFICEJSTest(TestCase):
"""
Launch officejs test without requirejs
"""
root_directory = __file__[0:-len("/test_launcher_for_officejs/tests/testOfficeJS.py")]
root_directory = __file__[0:-len("parts/officejs/test_launcher_for_officejs/tests/testOfficeJS.py")]
command = ["%s %s %s; exit 0" % (
'%s/test/phantomjs' % root_directory,
'%s/test/run-qunit.js' % root_directory,
'%s/test/officejs.html' % root_directory)]
'%s/bin/phantomjs' % root_directory,
'%s/parts/officejs/test/run-qunit.js' % root_directory,
'%s/parts/officejs/test/officejs.html' % root_directory)]
print command
result = subprocess.check_output(
command,
......
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