MCPcopy Create free account
hub / github.com/getsentry/sentry / test_codec

Function test_codec

tests/sentry/utils/test_codecs.py:17–19  ·  view source on GitHub ↗
(codec: Codec[Any, Any], encoded: str | bytes, decoded: str | bytes)

Source from the content-addressed store, hash-verified

15 ],
16)
17def test_codec(codec: Codec[Any, Any], encoded: str | bytes, decoded: str | bytes) -> None:
18 assert codec.encode(decoded) == encoded
19 assert codec.decode(encoded) == decoded
20
21
22def test_codec_chaining() -> None:

Callers

nothing calls this directly

Calls 2

encodeMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected