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

Method test_case_insensitive

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

Source from the content-addressed store, hash-verified

121 assert urls == ["https://example.com/photo.jpg"]
122
123 def test_case_insensitive(self):
124 urls = detect_image_urls("https://example.com/cat.PNG")
125 assert len(urls) == 1
126
127 def test_url_with_query(self):
128 urls = detect_image_urls("https://example.com/img.png?size=large")

Callers

nothing calls this directly

Calls 1

detect_image_urlsFunction · 0.90

Tested by

no test coverage detected