mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-08 03:18:28 +03:00
Remove autouse property of mock_sleep.
This commit is contained in:
@@ -6,6 +6,12 @@ from auto_archiver.modules.gdrive_storage import GDriveStorage
|
||||
from tests.storages.test_storage_base import TestStorageBase
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def mock_sleep(mocker):
|
||||
"""Mock time.sleep to avoid delays."""
|
||||
return mocker.patch("time.sleep")
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def gdrive_storage(setup_module, mocker) -> GDriveStorage:
|
||||
module_name: str = "gdrive_storage"
|
||||
|
||||
Reference in New Issue
Block a user