MCPcopy Create free account
hub / github.com/IBM/mcp-cli / test_image

Method test_image

tests/chat/test_attachments.py:408–410  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

406
407class TestClassifyKind:
408 def test_image(self):
409 assert _classify_kind("image/png") == "image"
410 assert _classify_kind("image/jpeg") == "image"
411
412 def test_audio(self):
413 assert _classify_kind("audio/mpeg") == "audio"

Callers

nothing calls this directly

Calls 1

_classify_kindFunction · 0.90

Tested by

no test coverage detected