Test is_env_enabled with various environment variable values.
(monkeypatch, env_value, expected)
| 33 | ], |
| 34 | ) |
| 35 | def test_is_env_enabled(monkeypatch, env_value, expected): |
| 36 | """Test is_env_enabled with various environment variable values.""" |
| 37 | monkeypatch.setenv('TEST_FLAG', env_value) |
| 38 | assert is_env_enabled('TEST_FLAG') is expected |
| 39 | |
| 40 | |
| 41 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected