Fix tests.

This commit is contained in:
Rodrigo Girão Serrão
2023-05-17 10:17:20 +01:00
parent 8399a31a46
commit 45686c8aca
6 changed files with 917 additions and 918 deletions

View File

@@ -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