mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-12 21:28:29 +03:00
Add more tests.
This commit is contained in:
@@ -133,14 +133,6 @@ def unpickle():
|
||||
return _unpickle
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_python_dependencies():
|
||||
with patch("auto_archiver.core.module") as mock_check_python_dep:
|
||||
# Mock all Python dependencies as available
|
||||
mock_check_python_dep.return_value = True
|
||||
yield mock_check_python_dep
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_binary_dependencies():
|
||||
with patch("shutil.which") as mock_shutil_which:
|
||||
|
||||
Reference in New Issue
Block a user