Commit 25e8ffcc authored by Rafael Monnerat's avatar Rafael Monnerat

master/tests: Fixup typo

parent 1f0bd1df
Pipeline #10865 failed with stage
in 0 seconds
......@@ -81,6 +81,8 @@ class SlapOSCloud(SavedTestSuite, ProjectTestSuite):
failure_count=1,
stderr='slapos-bin repository not found in %s' % '\n'.join(sys.path))
instance_home = (self.instance and 'unit_test.%u' % self.instance
or 'unit_test')
import shutil
shutil.rmtree(instance_home, ignore_errors=True)
......@@ -90,12 +92,11 @@ class SlapOSCloud(SavedTestSuite, ProjectTestSuite):
shutil.copyfile(os.path.join(old_data_path, 'dump.sql'),
os.path.join(instance_home, 'dump.sql'))
return self.runUnitTest(
'--load',
'--portal_id=erp5',
'--enable_full_indexing=portal_types,portal_property_sheets',
full_tests)
full_test)
return super(SlapOSCloud, self).run(full_test)
......
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