Bopytex/test/fakes/dispatcher.py

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,
}
)