mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-08 03:18:28 +03:00
Telethon unit tests + tidyup
This commit is contained in:
@@ -20,6 +20,14 @@ from auto_archiver.core.module import ModuleFactory
|
||||
TESTS_TO_RUN_LAST = ["test_twitter_api_archiver"]
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def get_lazy_module():
|
||||
def _get_lazy_module(module_name):
|
||||
return ModuleFactory().get_module_lazy(module_name)
|
||||
|
||||
return _get_lazy_module
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def setup_module(request):
|
||||
def _setup_module(module_name, config=None):
|
||||
|
||||
Reference in New Issue
Block a user