fmartingr
/
jeeves
Archived
1
0
Fork 0

Autoregister tasks on tests

This commit is contained in:
Felipe Martin 2019-10-03 18:09:58 +02:00
parent dfce913246
commit bdf9f29c15
Signed by: fmartingr
GPG Key ID: 716BC147715E716F
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
import pytest
from jeeves.core.registry import TaskRegistry
@pytest.fixture(scope="session", autouse=True)
def autoregister_tasks():
TaskRegistry.autodiscover()