Is there a way I could prevent all unit tests from running if a certain environment variable is not set to a specific value?
For example I want tests to only run if os.getenv(DB_URL) returns sqlite:///:memory:.
I'd like to configure this globally so I don't need to review every single test class / setup function to check this individually.