Changeset View
Changeset View
Standalone View
Standalone View
conftest.py
- This file was moved from swh/loader/package/tests/conftest.py.
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | def swh_proxy(): | ||||
os.environ['http_proxy'] = 'http://localhost:999' | os.environ['http_proxy'] = 'http://localhost:999' | ||||
os.environ['https_proxy'] = 'http://localhost:999' | os.environ['https_proxy'] = 'http://localhost:999' | ||||
@pytest.fixture(scope='session') # type: ignore # expected redefinition | @pytest.fixture(scope='session') # type: ignore # expected redefinition | ||||
def celery_includes(): | def celery_includes(): | ||||
return [ | return [ | ||||
'swh.loader.package.tasks', | 'swh.loader.package.tasks', | ||||
'swh.loader.package.archive.tasks', | |||||
] | ] |