Source code for ewoksppf.tests.test_ppf_actors.pythonActorAddB2C
import time
from . import SLEEP_TIME
[docs]
def run(b=None, **kwargs):
time.sleep(SLEEP_TIME)
if b is None:
raise RuntimeError("Missing argument 'value'!")
c = b + 1
return {"c": c}