MCPcopy Create free account
hub / github.com/Codeplain-ai/codeplain / test_capture_crash_without_run_state

Function test_capture_crash_without_run_state

tests/test_telemetry.py:114–121  ·  view source on GitHub ↗
(transport)

Source from the content-addressed store, hash-verified

112
113
114def test_capture_crash_without_run_state(transport):
115 init_with_transport(transport)
116
117 assert capture_crash(make_exc_info(ValueError("boom")), None, make_args())
118 sentry_sdk.flush(timeout=2)
119
120 assert len(transport.events) == 1
121 assert "render_id" not in transport.events[0]["tags"]
122
123
124def test_local_variables_are_scrubbed(transport):

Callers

nothing calls this directly

Calls 4

capture_crashFunction · 0.90
init_with_transportFunction · 0.85
make_exc_infoFunction · 0.85
make_argsFunction · 0.85

Tested by

no test coverage detected