mirror of
https://github.com/aljazceru/recon-pipeline.git
synced 2025-12-21 08:14:21 +01:00
removed dependency on tool-dict.pkl (#93)
* removed tool_dict dependency * updated tests * updated go version * added defaults for failing iteration during tool installation * Update pythonapp.yml * updated docs
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import os
|
||||
import shutil
|
||||
import tempfile
|
||||
from pathlib import Path
|
||||
@@ -41,7 +42,8 @@ class TestGobusterScan:
|
||||
assert mocked_run.called
|
||||
assert self.scan.parse_results.called
|
||||
|
||||
def test_scan_recursive_run(self):
|
||||
def test_scan_recursive_run(self, tmp_path):
|
||||
os.chdir(tmp_path)
|
||||
with patch("concurrent.futures.ThreadPoolExecutor.map") as mocked_run:
|
||||
self.scan.parse_results = MagicMock()
|
||||
self.scan.db_mgr.get_all_web_targets = MagicMock()
|
||||
|
||||
Reference in New Issue
Block a user