We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4ffe30 commit 9b0800fCopy full SHA for 9b0800f
tests/core/test_collector.py
@@ -105,12 +105,12 @@ def test_tdp_finder_from_series(
105
106
assert spec_path.is_dir()
107
108
- processors_file = spec_path / "dataset" / "intel-cpus.csv"
+ processors_files = list((spec_path / "dataset").glob("*.csv"))
109
110
- assert processors_file.exists()
+ assert len(processors_files) > 0
111
112
try:
113
- tdp_finder_from_series(metrics_path, [processors_file])
+ tdp_finder_from_series(metrics_path, processors_files)
114
except BaseException:
115
current_frame = inspect.currentframe()
116
if (
0 commit comments