Autoregister tasks on tests
This commit is contained in:
parent
dfce913246
commit
bdf9f29c15
|
@ -0,0 +1,8 @@
|
||||||
|
import pytest
|
||||||
|
|
||||||
|
from jeeves.core.registry import TaskRegistry
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture(scope="session", autouse=True)
|
||||||
|
def autoregister_tasks():
|
||||||
|
TaskRegistry.autodiscover()
|
Reference in New Issue