Some of my tests are taking long time, and I want to have an option to run only short tests or all tests. I have found option to disable some tests (Disable individual Python unit tests temporarily), but I didn't find option to, for example, set some flag in python -m unittest run those disabled tests anyway. What's the best practice here?
skipifinstead and check for some environment variable, which you have to set if you want to run (or skip) the tests.