2022-04-13 13:09:08 +00:00
|
|
|
from bopytex.message import Message
|
|
|
|
|
|
|
|
def fake_worker(args, deps, output):
|
|
|
|
return Message(0, [f"FAKE - {args} - {deps} - {output}"], [])
|
|
|
|
|
|
|
|
|
|
|
|
def success_worker(args, deps, output):
|
|
|
|
return Message(0, [f"SUCCESS - {args} - {deps} - {output}"], [])
|
|
|
|
|
|
|
|
|
2022-04-13 13:20:34 +00:00
|
|
|
def fail_worker(args, deps, output):
|
2022-04-13 13:09:08 +00:00
|
|
|
return Message(1, [f"FAILURE - {args} - {deps} - {output}"], [])
|
|
|
|
|