auto table (#2123)

* auto table

* ws

* debug
This commit is contained in:
Will McGugan
2023-03-23 15:47:14 +00:00
committed by GitHub
parent 700481129e
commit a4252a5760
5 changed files with 67 additions and 62 deletions

View File

@@ -646,6 +646,7 @@ async def test_hover_coordinate():
table.add_column("ABC")
table.add_row("123")
table.add_row("456")
await pilot.pause()
assert table.hover_coordinate == Coordinate(0, 0)
await pilot.hover(DataTable, offset=Offset(2, 2))
assert table.hover_coordinate == Coordinate(1, 0)