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:
epi
2020-08-27 20:27:43 -05:00
committed by epi
parent d7dbd1e7b3
commit 973893ee42
25 changed files with 55 additions and 109 deletions

View File

@@ -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()