Chromium Code Reviews| Index: scripts/slave/unittests/expect_tests/util.py |
| diff --git a/scripts/slave/unittests/expect_tests/util.py b/scripts/slave/unittests/expect_tests/util.py |
| index 8426f4c7c021c5ecc6dcbb53ad3abaca8513e592..45b3bc693d46853951e35b82c4856ab36d077c2f 100644 |
| --- a/scripts/slave/unittests/expect_tests/util.py |
| +++ b/scripts/slave/unittests/expect_tests/util.py |
| @@ -11,3 +11,9 @@ def covers(coverage_path_function): |
| func._covers = coverage_path_function |
| return func |
| return _decorator |
| + |
| + |
| +def generator(function): |
|
Vadim Sh.
2014/06/27 21:40:08
nit: test_generator
generator is too generic, esp
iannucci
2014/06/28 16:22:17
Done.
|
| + """Marks function as an expect_tests Test generator""" |
| + function._expect_tests_generator = True |
| + return function |