mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Fix tests.
This commit is contained in:
@@ -38,6 +38,7 @@ async def test_empty_paste():
|
||||
|
||||
app = PasteApp()
|
||||
async with app.run_test() as pilot:
|
||||
app.set_focus(None)
|
||||
await pilot.press("p")
|
||||
assert app.query_one(MyInput).value == ""
|
||||
assert len(paste_events) == 1
|
||||
|
||||
Reference in New Issue
Block a user