From 0a45ff374ff0504238f8b2b6f22b61aa57c64b49 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sat, 12 Nov 2022 12:24:36 +0000 Subject: [PATCH] update to greater than or equals --- tests/test_animation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_animation.py b/tests/test_animation.py index bf7072b70..0498e7693 100644 --- a/tests/test_animation.py +++ b/tests/test_animation.py @@ -34,6 +34,6 @@ async def test_animate_height() -> None: await pilot.wait_for_animation() elapsed = perf_counter() - start # Check that the full time has elapsed - assert elapsed > 0.5 + assert elapsed >= 0.5 # Check the height reached the maximum assert static.styles.height.value == 100