Skip to content
Snippets Groups Projects
Commit 4ababfbf authored by Wout De Nolf's avatar Wout De Nolf
Browse files

black

parent 8ab7bbc9
No related branches found
No related tags found
1 merge request!76black
Pipeline #102544 passed
Showing
with 0 additions and 12 deletions
......@@ -3,7 +3,6 @@ from . import SLEEP_TIME
def run(value=None, **kwargs):
time.sleep(SLEEP_TIME)
if value is None:
raise RuntimeError("Missing argument 'value'!")
......
......@@ -3,7 +3,6 @@ from . import SLEEP_TIME
def run(all_arguments=None):
if all_arguments is None:
raise RuntimeError("Missing argument 'all_arguments'!")
time.sleep(SLEEP_TIME)
......
......@@ -3,7 +3,6 @@ from . import SLEEP_TIME
def run(a=None, **kwargs):
time.sleep(SLEEP_TIME)
if a is None:
raise RuntimeError("Missing argument 'value'!")
......
......@@ -3,7 +3,6 @@ from . import SLEEP_TIME
def run(a=None, b=None, c=None, **kwargs):
time.sleep(SLEEP_TIME)
if a is None:
raise RuntimeError("Missing argument 'a'!")
......
......@@ -3,7 +3,6 @@ from . import SLEEP_TIME
def run(b=None, **kwargs):
time.sleep(SLEEP_TIME)
if b is None:
raise RuntimeError("Missing argument 'value'!")
......
......@@ -3,7 +3,6 @@ from . import SLEEP_TIME
def run(c=None, **kwargs):
time.sleep(SLEEP_TIME)
if c is None:
raise RuntimeError("Missing argument 'c'!")
......
def run(value=None, **kwargs):
if value is None:
raise RuntimeError("Missing argument 'value'!")
value += 1
......
def run(value=None, limit=10, **kwargs):
if value is None:
raise RuntimeError("Missing argument 'value'!")
if limit is None:
......
def run_incrementation(a=None, b=None, c=None, d=None, increment_value=None, **kwargs):
if a is None:
raise RuntimeError("Missing argument 'a'!")
if b is None:
......
......@@ -3,7 +3,6 @@ from . import SLEEP_TIME
def run(name, **kwargs):
time.sleep(SLEEP_TIME)
reply = None
if name is not None:
......
def run(name, **kwargs):
reply = None
# This actor throws an exception
raise RuntimeError("Runtime error in pythonErrorHandlerTest.py!")
......
......@@ -3,7 +3,6 @@ from ewokscore.tests.utils.results import assert_execute_graph_default_result
def workflow19():
sum3 = "ewoksppf.tests.test_ppf_actors.pythonActorAddABC2D.run"
incrementation = (
"ewoksppf.tests.test_ppf_actors.pythonActorDiamondTest.run_incrementation"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment