MCPcopy
hub / github.com/Textualize/textual / test_no_message_if_no_suggestion

Function test_no_message_if_no_suggestion

tests/suggester/test_suggester.py:63–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62
63async def test_no_message_if_no_suggestion():
64 log = []
65 suggester = FillSuggester()
66 await suggester._get_suggestion(LogListNode(log), "this is a longer string")
67 assert log == []
68
69
70async def test_suggestion_ready_message_on_cache_hit():

Callers

nothing calls this directly

Calls 3

FillSuggesterClass · 0.85
_get_suggestionMethod · 0.80
LogListNodeClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…