MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / test_env_var_enables

Function test_env_var_enables

tests/test_telemetry.py:26–30  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

24
25
26def test_env_var_enables(tmp_path):
27 _reset(tmp_path)
28 os.environ["UNCOMMON_ROUTE_TELEMETRY"] = "on"
29 assert telem.is_enabled()
30 os.environ.pop("UNCOMMON_ROUTE_TELEMETRY")
31
32
33def test_do_not_track_wins(tmp_path):

Callers

nothing calls this directly

Calls 2

_resetFunction · 0.85
popMethod · 0.80

Tested by

no test coverage detected