aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/loader/plan_test.py
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-21 06:33:43 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-21 06:33:43 +0000
commit28c44a46d38c1bd79b54488c30be2f6fcee4bf8f (patch)
treea0aeeaeed03912a29dd8c97287e5343eaefa028b /tests/unit/loader/plan_test.py
parent9a793165a69a1339fcdb85916388b5ab9092646c (diff)
parentf15edb752f72b8f0f23d44f6fd5b6923140ca187 (diff)
Merge "Fix error in loader test"
Diffstat (limited to 'tests/unit/loader/plan_test.py')
-rw-r--r--tests/unit/loader/plan_test.py5
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