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

Method test_empty_contents

tests/apps/test_host.py:70–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

68 assert AppHostServer._extract_html(resource) == html
69
70 def test_empty_contents(self):
71 assert AppHostServer._extract_html({"contents": []}) == ""
72
73 def test_nested_result(self):
74 resource = {

Callers

nothing calls this directly

Calls 1

_extract_htmlMethod · 0.80

Tested by

no test coverage detected