mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
update to greater than or equals
This commit is contained in:
@@ -34,6 +34,6 @@ async def test_animate_height() -> None:
|
|||||||
await pilot.wait_for_animation()
|
await pilot.wait_for_animation()
|
||||||
elapsed = perf_counter() - start
|
elapsed = perf_counter() - start
|
||||||
# Check that the full time has elapsed
|
# Check that the full time has elapsed
|
||||||
assert elapsed > 0.5
|
assert elapsed >= 0.5
|
||||||
# Check the height reached the maximum
|
# Check the height reached the maximum
|
||||||
assert static.styles.height.value == 100
|
assert static.styles.height.value == 100
|
||||||
|
|||||||
Reference in New Issue
Block a user