aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/loader/qpi_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/loader/qpi_test.py')
-rw-r--r--tests/unit/loader/qpi_test.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/loader/qpi_test.py b/tests/unit/loader/qpi_test.py
index 3328b43a..b53030d4 100644
--- a/tests/unit/loader/qpi_test.py
+++ b/tests/unit/loader/qpi_test.py
@@ -30,11 +30,10 @@ def test_init(qpi_spec):
def test_list_all(benchmarks_root):
- qpi_spec_list = QPISpec.list_all(paths=[benchmarks_root])
- assert len(list(qpi_spec_list)) is 2
+ qpi_spec_list = list(QPISpec.list_all(paths=[benchmarks_root]))
+ assert len(qpi_spec_list) is 2
for item in qpi_spec_list:
assert SpecProp.NAME in item
- assert SpecProp.CONTENT in item
assert SpecProp.ABSPATH in item
assert SpecProp.ABSPATH is not None