[Piglit] [PATCH 07/20] summary_tests.py: use utils.nose_generator

Dylan Baker baker.dylan.c at gmail.com
Sat Jun 14 08:05:16 PDT 2014


Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 framework/tests/summary_tests.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/framework/tests/summary_tests.py b/framework/tests/summary_tests.py
index 8961e1a..61cfbfe 100644
--- a/framework/tests/summary_tests.py
+++ b/framework/tests/summary_tests.py
@@ -36,6 +36,7 @@ def test_initialize_summary():
         assert test
 
 
+ at utils.nose_generator
 def test_summary_add_to_set():
     """ Generate tests for testing Summary.test sets """
     old = copy.deepcopy(utils.JSON_DATA)
@@ -76,6 +77,7 @@ def check_sets(old, ostat, new, nstat, set_):
                             msg="{0} was not appended".format(set_))
 
 
+ at utils.nose_generator
 def test_subtest_handling():
     data = copy.deepcopy(utils.JSON_DATA)
     data['tests']['with_subtests'] = {}
-- 
2.0.0



More information about the Piglit mailing list