MCPcopy Index your code
hub / github.com/Codeplain-ai/codeplain / test_environment_env_var_respected

Function test_environment_env_var_respected

tests/test_telemetry.py:200–203  ·  view source on GitHub ↗
(monkeypatch, transport)

Source from the content-addressed store, hash-verified

198
199
200def test_environment_env_var_respected(monkeypatch, transport):
201 monkeypatch.setenv(plain2code_telemetry.ENVIRONMENT_ENV_VAR, "development")
202 init_with_transport(transport)
203 assert sentry_sdk.get_client().options["environment"] == "development"
204
205
206def test_release_is_client_version(transport):

Callers

nothing calls this directly

Calls 1

init_with_transportFunction · 0.85

Tested by

no test coverage detected