This commit is contained in:
Will McGugan
2022-12-20 14:06:35 +00:00
parent 59057eef83
commit 1cef349f27
4 changed files with 263 additions and 259 deletions

View File

@@ -12,7 +12,9 @@ async def test_run_test() -> None:
app = TestApp()
async with app.run_test() as pilot:
assert str(pilot) == "<Pilot app=TestApp(title='TestApp')>"
assert (
str(pilot) == "<Pilot app=TestApp(title='TestApp', classes={'-dark-mode'})>"
)
await pilot.press("tab", *"foo")
await pilot.pause(1 / 100)
await pilot.exit("bar")