MCPcopy Create free account
hub / github.com/debpalash/VoiceStudio / test_protocol_codes_classify

Function test_protocol_codes_classify

tests/test_worker_errors.py:54–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52
53
54def test_protocol_codes_classify():
55 assert errors.classify_code("WORKER_AT_CAPACITY") is ErrorClass.CAPACITY
56 assert errors.classify_code("INSUFFICIENT_MEMORY") is ErrorClass.CAPABILITY
57 assert errors.classify_code("EXECUTION_TIMEOUT") is ErrorClass.TIMEOUT
58 assert errors.classify_code("STALE_EPOCH") is ErrorClass.PROTOCOL
59 assert errors.classify_code("INVALID_TASK_PARAMS") is ErrorClass.TERMINAL
60
61
62def test_docs_taxonomy_keys_are_reused_not_reinvented():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected