From 6c5cb72e50a1d1a9862d40507c8f0064f25e088d Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Mon, 23 Jan 2017 14:39:13 +0100 Subject: 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 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 --- plans/linux-example.yaml | 38 +++++++++++++++++++------------------- 1 file 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 -- cgit v1.2.3