Skip the unit tests if environment variable `quick_test_var=true`. For example, the user can skip the relevant tests by setting ``export QUICKTEST=true``.
(obj)
| 248 | |
| 249 | |
| 250 | def skip_if_quick(obj): |
| 251 | """ |
| 252 | Skip the unit tests if environment variable `quick_test_var=true`. |
| 253 | For example, the user can skip the relevant tests by setting ``export QUICKTEST=true``. |
| 254 | """ |
| 255 | is_quick = test_is_quick() |
| 256 | |
| 257 | return unittest.skipIf(is_quick, "Skipping slow tests")(obj) |
| 258 | |
| 259 | |
| 260 | class SkipIfNoModule: |
nothing calls this directly
no test coverage detected
searching dependent graphs…