Commit 0a8766c3 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5.util: update DummyTaskDistributor API

so tests can run locally without reporting to an external server

this change follows 0c7a763e
parent 06ab3cb3
Pipeline #9203 passed with stage
in 0 seconds
...@@ -543,7 +543,7 @@ class DummyTaskDistributor(object): ...@@ -543,7 +543,7 @@ class DummyTaskDistributor(object):
self.test_name_list = test_name_list[:] self.test_name_list = test_name_list[:]
return None, revision return None, revision
def startUnitTest(self, test_result_path, exclude_list=()): def startUnitTest(self, test_result_path, exclude_list=(), *args):
with self._lock: with self._lock:
for i, test in enumerate(self.test_name_list): for i, test in enumerate(self.test_name_list):
if test not in exclude_list: if test not in exclude_list:
......
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