Changeset View
Changeset View
Standalone View
Standalone View
conftest.py
Show All 10 Lines | |||||
settings.register_profile("fast", max_examples=5, deadline=5000) | settings.register_profile("fast", max_examples=5, deadline=5000) | ||||
settings.register_profile("slow", max_examples=20, deadline=5000) | settings.register_profile("slow", max_examples=20, deadline=5000) | ||||
# Ignore the following modules because wsgi module fails as no | # Ignore the following modules because wsgi module fails as no | ||||
# configuration file is found (--doctest-modules forces the module | # configuration file is found (--doctest-modules forces the module | ||||
# loading) | # loading) | ||||
collect_ignore = ["swh/indexer/storage/api/wsgi.py"] | collect_ignore = ["swh/indexer/storage/api/wsgi.py"] | ||||
# we use the swh_scheduler fixture | # we use the various swh fixtures | ||||
pytest_plugins = ["swh.scheduler.pytest_plugin"] | pytest_plugins = [ | ||||
"swh.scheduler.pytest_plugin", | |||||
"swh.storage.pytest_plugin", | |||||
"swh.core.db.pytest_plugin", | |||||
] | |||||
olasd: the comment needs an update | |||||
@pytest.fixture(scope="session") | @pytest.fixture(scope="session") | ||||
def swh_scheduler_celery_includes(swh_scheduler_celery_includes): | def swh_scheduler_celery_includes(swh_scheduler_celery_includes): | ||||
return swh_scheduler_celery_includes + [ | return swh_scheduler_celery_includes + [ | ||||
"swh.indexer.tasks", | "swh.indexer.tasks", | ||||
] | ] |
the comment needs an update