[Piglit] [PATCH 1/4] framework/tests/results_tests.py: fix copy and paste error in test
Dylan Baker
baker.dylan.c at gmail.com
Wed Sep 23 17:55:56 PDT 2015
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
framework/tests/results_tests.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/framework/tests/results_tests.py b/framework/tests/results_tests.py
index c7baa4c..ab5f0d3 100644
--- a/framework/tests/results_tests.py
+++ b/framework/tests/results_tests.py
@@ -159,8 +159,8 @@ def test_TestResult_result_getter_subtests():
"""results.TestResult.result: Getter returns worst subtest when subtests are present"""
test = results.TestResult('pass')
test.subtests['a'] = 'fail'
- test.subtests['a'] = 'crash'
- test.subtests['a'] = 'incomplete'
+ test.subtests['b'] = 'crash'
+ test.subtests['c'] = 'incomplete'
nt.eq_(test.result, 'incomplete')
--
2.5.3
More information about the Piglit
mailing list