Bopytex/test/fakes/dispatcher.py

12 lines
242 B
Python
Raw Normal View History

from bopytex.worker import Dispatcher
2022-07-28 07:39:51 +00:00
from .workers import fail_worker, fake_worker, success_worker
fake_dispatcher = Dispatcher(
{
"FAKE": fake_worker,
"SUCCESS": success_worker,
"FAILURE": fail_worker,
}
)