mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Use _modes in tests.
This commit is contained in:
@@ -117,7 +117,7 @@ async def test_remove_mode(ModesApp: Type[App]):
|
||||
await pilot.pause()
|
||||
assert str(app.screen.query_one(Label).renderable) == "two"
|
||||
app.remove_mode("one")
|
||||
assert "one" not in app.modes
|
||||
assert "one" not in app._modes
|
||||
|
||||
|
||||
async def test_remove_active_mode(ModesApp: Type[App]):
|
||||
|
||||
Reference in New Issue
Block a user