Decorator marking a test as slow. Slow tests are skipped by default. Set the RUN_SLOW environment variable to a truthy value to run them.
(test_case)
| 207 | |
| 208 | |
| 209 | def slow(test_case): |
| 210 | """ |
| 211 | Decorator marking a test as slow. |
| 212 | |
| 213 | Slow tests are skipped by default. Set the RUN_SLOW environment variable to a truthy value to run them. |
| 214 | |
| 215 | """ |
| 216 | return unittest.skipUnless(_run_slow_tests, "test is slow")(test_case) |
| 217 | |
| 218 | |
| 219 | def nightly(test_case): |
nothing calls this directly
no outgoing calls
no test coverage detected