mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Adding an explanatory comment to a test
This commit is contained in:
@@ -357,8 +357,8 @@ async def test_get_row():
|
|||||||
assert table.get_row(first_row) == [2, 4, 1]
|
assert table.get_row(first_row) == [2, 4, 1]
|
||||||
assert table.get_row(second_row) == [3, 2, 1]
|
assert table.get_row(second_row) == [3, 2, 1]
|
||||||
|
|
||||||
|
# Even if row positions change, keys should always refer to same rows.
|
||||||
table.sort(b)
|
table.sort(b)
|
||||||
|
|
||||||
assert table.get_row(first_row) == [2, 4, 1]
|
assert table.get_row(first_row) == [2, 4, 1]
|
||||||
assert table.get_row(second_row) == [3, 2, 1]
|
assert table.get_row(second_row) == [3, 2, 1]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user