aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/GazeAnalysis
diff options
context:
space:
mode:
authorThéo de la Hogue2023-06-14 12:05:07 +0200
committerThéo de la Hogue2023-06-14 12:05:07 +0200
commit69d4c0e31450fd5e0c0ec01d4cceaa55940e6262 (patch)
treed9c1e5dcef97bf055c2fe3e136b372517d64583f /src/argaze.test/GazeAnalysis
parent4a5c7ad8bf29afc5af893c524e5753de302873b7 (diff)
downloadargaze-69d4c0e31450fd5e0c0ec01d4cceaa55940e6262.zip
argaze-69d4c0e31450fd5e0c0ec01d4cceaa55940e6262.tar.gz
argaze-69d4c0e31450fd5e0c0ec01d4cceaa55940e6262.tar.bz2
argaze-69d4c0e31450fd5e0c0ec01d4cceaa55940e6262.tar.xz
Testing and documenting ExploitExploreRatio class.
Diffstat (limited to 'src/argaze.test/GazeAnalysis')
-rw-r--r--src/argaze.test/GazeAnalysis/ExploitExploreRatio.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/argaze.test/GazeAnalysis/ExploitExploreRatio.py b/src/argaze.test/GazeAnalysis/ExploitExploreRatio.py
index febfec7..9cfcc0b 100644
--- a/src/argaze.test/GazeAnalysis/ExploitExploreRatio.py
+++ b/src/argaze.test/GazeAnalysis/ExploitExploreRatio.py
@@ -30,10 +30,8 @@ class TestScanPathAnalyzer(unittest.TestCase):
xxr = xxr_analyzer.analyze(scan_path)
- print(xxr)
-
- # Check exploit explore ratio
- self.assertGreaterEqual(xxr, 0)
+ # Check exploit explore ratio: it should greater than 1 because of build_scan_path
+ self.assertGreaterEqual(xxr, 1.)
if __name__ == '__main__':