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

Function test_do_not_track_wins

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

Source from the content-addressed store, hash-verified

31
32
33def test_do_not_track_wins(tmp_path):
34 _reset(tmp_path)
35 os.environ["UNCOMMON_ROUTE_TELEMETRY"] = "on"
36 os.environ["DO_NOT_TRACK"] = "1"
37 assert not telem.is_enabled()
38 os.environ.pop("UNCOMMON_ROUTE_TELEMETRY")
39 os.environ.pop("DO_NOT_TRACK")
40
41
42def test_config_file_persists(tmp_path):

Callers

nothing calls this directly

Calls 2

_resetFunction · 0.85
popMethod · 0.80

Tested by

no test coverage detected