Skip to content

Commit

Permalink
Merge pull request #27 from george0st/changes
Browse files Browse the repository at this point in the history
Add output path with duration
  • Loading branch information
george0st authored Sep 2, 2024
2 parents 04d9034 + 959904a commit a81128e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contourpy>=1.0.0,<=1.3.0
psutil>=5.9.0,<=6.0.0
packaging>=21.0

qgate_graph==1.4.8
qgate_graph==1.4.12

coverage>=7
coverage-badge>=1
Expand Down
2 changes: 1 addition & 1 deletion qgate_perf/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Store the version here so:

__version__ = '0.4.11'
__version__ = '0.4.12'
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ contourpy>=1.0.0,<=1.3.0
psutil>=5.9.0,<=6.0.0
packaging>=21.0

qgate_graph==1.4.9
qgate_graph==1.4.12
12 changes: 6 additions & 6 deletions tests/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ def test_graph(self):
setup))
generator.create_graph(self.OUTPUT_ADR)

file=glob.glob(path.join(self.OUTPUT_ADR, "graph-perf",f"PRF-test_aus_ger-*-bulk-10x10.png"))
file=glob.glob(path.join(self.OUTPUT_ADR, "graph-perf", "4 sec", f"PRF-test_aus_ger-*-bulk-10x10.png"))
self.assertTrue(len(file) == 1)
print(file[0])

file=glob.glob(path.join(self.OUTPUT_ADR, "graph-perf",f"PRF-test_aus_ger-*-bulk-100x10.png"))
file=glob.glob(path.join(self.OUTPUT_ADR, "graph-perf", "4 sec", f"PRF-test_aus_ger-*-bulk-100x10.png"))
self.assertTrue(len(file) == 1)
print(file[0])

Expand All @@ -87,7 +87,7 @@ def test_graph_run_exception(self):
self.assertFalse(generator.run(1,1, setup))
generator.create_graph(self.OUTPUT_ADR)

file=glob.glob(path.join(self.OUTPUT_ADR, "graph-perf",f"PRF-test_exception-*-bulk-1x1.png"))
file=glob.glob(path.join(self.OUTPUT_ADR, "graph-perf", "4 sec", f"PRF-test_exception-*-bulk-1x1.png"))
self.assertTrue(len(file) == 1)
print(file[0])

Expand All @@ -103,7 +103,7 @@ def test_graph_runexecutor_exception(self):
self.assertFalse(generator.run_executor([[2,2]], setup))
generator.create_graph(self.OUTPUT_ADR)

file=glob.glob(path.join(self.OUTPUT_ADR, "graph-perf",f"PRF-test_exception2-*-bulk-1x1.png"))
file=glob.glob(path.join(self.OUTPUT_ADR, "graph-perf", "4 sec", f"PRF-test_exception2-*-bulk-1x1.png"))
self.assertTrue(len(file) == 1)
print(file[0])

Expand All @@ -125,11 +125,11 @@ def test_graph_runbulkexecutor_exception_random(self):
generator.create_graph(self.OUTPUT_ADR)

# check relevant files
file=glob.glob(path.join(self.OUTPUT_ADR, "graph-perf",f"PRF-test_random-*-bulk-1x1.png"))
file=glob.glob(path.join(self.OUTPUT_ADR, "graph-perf", "4 sec", f"PRF-test_random-*-bulk-1x1.png"))
self.assertTrue(len(file)==1)
print(file[0])

file=glob.glob(path.join(self.OUTPUT_ADR, "graph-perf",f"PRF-test_random-*-bulk-1x5.png"))
file=glob.glob(path.join(self.OUTPUT_ADR, "graph-perf", "4 sec", f"PRF-test_random-*-bulk-1x5.png"))
self.assertTrue(len(file) == 1)
print(file[0])

0 comments on commit a81128e

Please sign in to comment.