summaryrefslogtreecommitdiffstats
path: root/app/test/scan
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/scan')
-rw-r--r--app/test/scan/test_scan_controller.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/test/scan/test_scan_controller.py b/app/test/scan/test_scan_controller.py
index f3bcc9a..f903e11 100644
--- a/app/test/scan/test_scan_controller.py
+++ b/app/test/scan/test_scan_controller.py
@@ -140,20 +140,23 @@ class TestScanController(TestScan):
deploy_monitoring_setup_count)
def prepare_scan_mocks(self):
- self.load_metadata = Scanner.load_metadata
+ self.load_link_finders_metadata = Scanner.load_scanners_metadata
+ self.load_scanners_metadata = Scanner.load_scanners_metadata
self.scan = Scanner.scan
self.scan_links = Scanner.scan_links
self.scan_cliques = Scanner.scan_cliques
self.deploy_monitoring_setup = Scanner.deploy_monitoring_setup
- Scanner.load_metadata = MagicMock()
+ Scanner.load_link_finders_metadata = MagicMock()
+ Scanner.load_scanners_metadata = MagicMock()
Scanner.scan = MagicMock()
Scanner.scan_links = MagicMock()
Scanner.scan_cliques = MagicMock()
Scanner.deploy_monitoring_setup = MagicMock()
def reset_methods(self):
- Scanner.load_metadata = self.load_metadata
+ Scanner.load_link_finders_metadata = self.load_link_finders_metadata
+ Scanner.load_scanners_metadata = self.load_scanners_metadata
Scanner.scan = self.scan
Scanner.scan_links = self.scan_links
Scanner.scan_cliques = self.scan_cliques