14 lines
360 B
Python
14 lines
360 B
Python
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}"], [])
|
|
|
|
|
|
def fail_worker(args, deps, output):
|
|
return Message(1, [f"FAILURE - {args} - {deps} - {output}"], [])
|