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)
| 179 | |
| 180 | |
| 181 | def slow(test_case): |
| 182 | """ |
| 183 | Decorator marking a test as slow. |
| 184 | |
| 185 | Slow tests are skipped by default. Set the RUN_SLOW environment variable to a truthy value to run them. |
| 186 | |
| 187 | """ |
| 188 | return unittest.skipUnless(_run_slow_tests, "test is slow")(test_case) |
| 189 | |
| 190 | |
| 191 | def nightly(test_case): |
nothing calls this directly
no outgoing calls
no test coverage detected