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

Class TestApp

tests/test_pilot.py:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 keys_pressed = []
53
54 class TestApp(App[None]):
55 def on_key(self, event: events.Key) -> None:
56 keys_pressed.append(event.character)
57
58 async with TestApp().run_test() as pilot:
59 for char in KEY_CHARACTERS_TO_TEST:

Callers 3

test_click_by_widgetFunction · 0.70
test_click_timesFunction · 0.70

Calls

no outgoing calls

Tested by 3

test_click_by_widgetFunction · 0.56
test_click_timesFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…