Bopytex/test/fakes/dispatcher.py
Bertrand Benjamin cd2fdc162e
All checks were successful
continuous-integration/drone/push Build is passing
Fix: run pre-commit hooks
2022-07-28 09:39:51 +02:00

12 lines
242 B
Python

from bopytex.worker import Dispatcher
from .workers import fail_worker, fake_worker, success_worker
fake_dispatcher = Dispatcher(
{
"FAKE": fake_worker,
"SUCCESS": success_worker,
"FAILURE": fail_worker,
}
)