Skip to content

Commit 9b0800f

Browse files
committed
Partially fixed pytest. It is still missing the CPUBenchmark dataset.
1 parent b4ffe30 commit 9b0800f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/core/test_collector.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ def test_tdp_finder_from_series(
105105

106106
assert spec_path.is_dir()
107107

108-
processors_file = spec_path / "dataset" / "intel-cpus.csv"
108+
processors_files = list((spec_path / "dataset").glob("*.csv"))
109109

110-
assert processors_file.exists()
110+
assert len(processors_files) > 0
111111

112112
try:
113-
tdp_finder_from_series(metrics_path, [processors_file])
113+
tdp_finder_from_series(metrics_path, processors_files)
114114
except BaseException:
115115
current_frame = inspect.currentframe()
116116
if (

0 commit comments

Comments
 (0)