mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
[e2e] Add a way to accelerate time in our integration tests
This commit is contained in:
@@ -245,10 +245,3 @@ def test_bound_animator():
|
||||
easing=EASING[DEFAULT_EASING],
|
||||
)
|
||||
assert animator._animations[(id(animate_test), "foo")] == expected
|
||||
|
||||
|
||||
def test_animator_get_time():
|
||||
target = Mock()
|
||||
animator = Animator(target)
|
||||
assert isinstance(animator.get_time(), float)
|
||||
assert animator.get_time() <= animator.get_time()
|
||||
|
||||
Reference in New Issue
Block a user