diff options
author | Théo de la Hogue | 2023-10-10 16:25:56 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-10-10 16:25:56 +0200 |
commit | d7107ed868229b9665ee7432dcdc1da90c97c75a (patch) | |
tree | 6dd5a5ebc0aad255ceed95f378179142325707c5 /src/argaze.test/GazeAnalysis/ExploitExploreRatio.py | |
parent | 992b84ea72e1d20b395ab8d3d50abbd494c1a749 (diff) | |
download | argaze-d7107ed868229b9665ee7432dcdc1da90c97c75a.zip argaze-d7107ed868229b9665ee7432dcdc1da90c97c75a.tar.gz argaze-d7107ed868229b9665ee7432dcdc1da90c97c75a.tar.bz2 argaze-d7107ed868229b9665ee7432dcdc1da90c97c75a.tar.xz |
Replacing ExploitExplore by ExploreExploit.
Diffstat (limited to 'src/argaze.test/GazeAnalysis/ExploitExploreRatio.py')
-rw-r--r-- | src/argaze.test/GazeAnalysis/ExploitExploreRatio.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/argaze.test/GazeAnalysis/ExploitExploreRatio.py b/src/argaze.test/GazeAnalysis/ExploitExploreRatio.py index 0e6b74a..7b323d4 100644 --- a/src/argaze.test/GazeAnalysis/ExploitExploreRatio.py +++ b/src/argaze.test/GazeAnalysis/ExploitExploreRatio.py @@ -10,7 +10,7 @@ __license__ = "BSD" import unittest from argaze import GazeFeatures -from argaze.GazeAnalysis import ExploitExploreRatio +from argaze.GazeAnalysis import ExploreExploitRatio from argaze.utils import UtilsFeatures GazeFeaturesTest = UtilsFeatures.importFromTestPackage('GazeFeatures') @@ -21,7 +21,7 @@ class TestScanPathAnalyzer(unittest.TestCase): def test_analyze(self): """Test analyze method.""" - xxr_analyzer = ExploitExploreRatio.ScanPathAnalyzer() + xxr_analyzer = ExploreExploitRatio.ScanPathAnalyzer() scan_path = GazeFeaturesTest.build_scan_path(10) @@ -31,7 +31,7 @@ class TestScanPathAnalyzer(unittest.TestCase): xxr_analyzer.analyze(scan_path) # Check exploit explore ratio: it should greater than 1 because of build_scan_path - self.assertGreaterEqual(xxr_analyzer.exploit_explore_ratio, 1.) + self.assertGreaterEqual(xxr_analyzer.explore_exploit_ratio, 1.) if __name__ == '__main__': |