Decorator function which can populate a unittest.TestCase class
(cls)
| 78 | |
| 79 | def populate(method): |
| 80 | def wrapper(cls): |
| 81 | """Decorator function which can populate a unittest.TestCase class""" |
| 82 | for test_type, filename in get_test_files(): |
| 83 | create_test_function(cls, filename, method, test_type) |
| 84 | return cls |
| 85 | |
| 86 | return wrapper |
| 87 |
nothing calls this directly
no test coverage detected