MCPcopy Index your code
hub / github.com/google/adk-python / test_is_env_enabled

Function test_is_env_enabled

tests/unittests/utils/test_env_utils.py:35–38  ·  view source on GitHub ↗

Test is_env_enabled with various environment variable values.

(monkeypatch, env_value, expected)

Source from the content-addressed store, hash-verified

33 ],
34)
35def 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(

Callers

nothing calls this directly

Calls 1

is_env_enabledFunction · 0.90

Tested by

no test coverage detected