summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-01-23 14:39:13 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-01-23 14:39:13 +0100
commit6c5cb72e50a1d1a9862d40507c8f0064f25e088d (patch)
tree84b0aa4cf1558dc1abb1767e4187495474186f60
parent7aa508c220cf5a43f50c4b66744746c4d3afd32f (diff)
downloadtest-definitions-pipe-6c5cb72e50a1d1a9862d40507c8f0064f25e088d.tar.gz
automated: plans: fix indentation in linux-example
when trying the current test plan , it failed with: Traceback (most recent call last): File "/work/linaro/test-definitions/automated/bin/test-runner", line 592, in <module> main() File "/work/linaro/test-definitions/automated/bin/test-runner", line 559, in main test_list = test_plan.test_list(args.kind) File "/work/linaro/test-definitions/automated/bin/test-runner", line 59, in test_list if 'tests' in requirement.keys(): AttributeError: 'str' object has no attribute 'keys' The YAML file is not properly written, so fix it. Change-Id: I7b3173f775f5a0bc479c2ecfa8943ef87da8c06a Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--plans/linux-example.yaml38
1 files changed, 19 insertions, 19 deletions
diff --git a/plans/linux-example.yaml b/plans/linux-example.yaml
index d79af77..95401f0 100644
--- a/plans/linux-example.yaml
+++ b/plans/linux-example.yaml
@@ -9,22 +9,22 @@ metadata:
format: Linaro Test Plan v1
requirements:
- name: my 1st requirement
- owner: first.last@linaro.org
- tests:
- manual:
- - path: manual/linux/test1.yaml
- automated:
- - path: automated/linux/smoke/smoke.yaml
- timeout: 1800
- - path: automated/linux/smoke/smoke.yaml
- timeout: 1800
- params:
- SKIP_INSTALL: True
- - path: automated/linux/dd-wr-speed/dd-wr-speed.yaml
- timeout: 1800
- - path: automated/linux/dd-wr-speed/dd-wr-speed.yaml
- timeout: 1800
- params:
- SKIP_INSTALL: True
- ITERATION: 3
+ - name: my 1st requirement
+ owner: first.last@linaro.org
+ tests:
+ manual:
+ - path: manual/linux/test1.yaml
+ automated:
+ - path: automated/linux/smoke/smoke.yaml
+ timeout: 1800
+ - path: automated/linux/smoke/smoke.yaml
+ timeout: 1800
+ params:
+ SKIP_INSTALL: True
+ - path: automated/linux/dd-wr-speed/dd-wr-speed.yaml
+ timeout: 1800
+ - path: automated/linux/dd-wr-speed/dd-wr-speed.yaml
+ timeout: 1800
+ params:
+ SKIP_INSTALL: True
+ ITERATION: 3