aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/GazeAnalysis/ExploitExploreRatio.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/argaze.test/GazeAnalysis/ExploitExploreRatio.py')
-rw-r--r--src/argaze.test/GazeAnalysis/ExploitExploreRatio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze.test/GazeAnalysis/ExploitExploreRatio.py b/src/argaze.test/GazeAnalysis/ExploitExploreRatio.py
index 9cfcc0b..d788a42 100644
--- a/src/argaze.test/GazeAnalysis/ExploitExploreRatio.py
+++ b/src/argaze.test/GazeAnalysis/ExploitExploreRatio.py
@@ -28,10 +28,10 @@ class TestScanPathAnalyzer(unittest.TestCase):
# Check scan path
self.assertEqual(len(scan_path), 10)
- xxr = xxr_analyzer.analyze(scan_path)
+ xxr_analyzer.analyze(scan_path)
# Check exploit explore ratio: it should greater than 1 because of build_scan_path
- self.assertGreaterEqual(xxr, 1.)
+ self.assertGreaterEqual(xxr_analyzer.exploit_explore_ratio, 1.)
if __name__ == '__main__':