From 69d4c0e31450fd5e0c0ec01d4cceaa55940e6262 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Wed, 14 Jun 2023 12:05:07 +0200 Subject: Testing and documenting ExploitExploreRatio class. --- src/argaze.test/GazeAnalysis/ExploitExploreRatio.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/argaze.test/GazeAnalysis/ExploitExploreRatio.py') 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__': -- cgit v1.1