diff options
Diffstat (limited to 'tests/unit/loader/plan_test.py')
-rw-r--r-- | tests/unit/loader/plan_test.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/loader/plan_test.py b/tests/unit/loader/plan_test.py index 4872b4cd..d9869cb6 100644 --- a/tests/unit/loader/plan_test.py +++ b/tests/unit/loader/plan_test.py @@ -29,11 +29,10 @@ def test_init(plan): def test_list_all(benchmarks_root): - plan_list = Plan.list_all(paths=[benchmarks_root]) - assert len(list(plan_list)) is 1 + plan_list = list(Plan.list_all(paths=[benchmarks_root])) + assert len(plan_list) is 1 for desc in plan_list: assert PlanProp.NAME in desc - assert PlanProp.CONTENT in desc assert PlanProp.ABSPATH in desc assert PlanProp.ABSPATH is not None |