swh.loader.pytest_plugin module#

swh.loader.pytest_plugin.mock_sleep(mocker)[source]#
swh.loader.pytest_plugin.swh_storage_backend_config(swh_storage_postgresql) Dict[str, Any][source]#
swh.loader.pytest_plugin.swh_loader_config(swh_storage_backend_config) Dict[str, Any][source]#
swh.loader.pytest_plugin.swh_config(swh_loader_config, monkeypatch, tmp_path) str[source]#
swh.loader.pytest_plugin.swh_proxy()[source]#

Automatically inject this fixture in all tests to ensure no outside connection takes place.

swh.loader.pytest_plugin.loading_task_creation_for_listed_origin_test(mocker, swh_scheduler_celery_app, swh_scheduler_celery_worker, swh_config, mock_sleep)[source]#