Commit 8fda0295 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Run wendelin.core tests using activity nodes.

parent d5b95575
...@@ -58,7 +58,9 @@ class SlapOSCloud(SavedTestSuite, ProjectTestSuite): ...@@ -58,7 +58,9 @@ class SlapOSCloud(SavedTestSuite, ProjectTestSuite):
def run(self, full_test): def run(self, full_test):
test = ':' in full_test and full_test.split(':')[1] or full_test test = ':' in full_test and full_test.split(':')[1] or full_test
if test.startswith('testFunctional'): if test in ('testSlapOSWendelinCoreTwo',):
return self.runUnitTest('--activity_node=1', full_test)
elif test.startswith('testFunctional'):
return self._updateFunctionalTestResponse(self.runUnitTest(full_test)) return self._updateFunctionalTestResponse(self.runUnitTest(full_test))
elif test == 'testSlapOSUpgradeInstanceWithOldDataFs': elif test == 'testSlapOSUpgradeInstanceWithOldDataFs':
old_data_path = None old_data_path = 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