Commit graph

12 commits

Author SHA1 Message Date
Darren Burns
9287f64a66
Add isort pre-commit hook, sort imports in src and test directories 2023-02-09 13:28:08 +00:00
Will McGugan
216d05b17f test fix 2022-09-20 16:33:07 +01:00
Will McGugan
5fe47da058 Await animator 2022-08-23 14:47:08 +01:00
darrenburns
3749412d2f
Animation callback (#683)
* Add on_complete callback to Animations

* Add tests for on_complete Animation callbacks

* Update __textual_animation__ signature to include callback

* Support awaitable callbacks for animator on_complete

* Import tidying

* Update animator tests
2022-08-19 14:55:53 +01:00
Olivier Philippon
15df759197 [App] Finally, time mocking in tests seems to be working! 😅
I had to add a flag in the `_timer` module that allows us to completely disable the  "skip" feature of Timers, though - but it shouldn't cause too much trouble 🤞
2022-05-20 14:50:43 +01:00
Olivier Philippon
74ad6f73fa [e2e] Add a way to accelerate time in our integration tests 2022-05-20 14:49:58 +01:00
Will McGugan
ec8eda7c6d fix test 2022-05-16 15:17:10 +01:00
Darren Burns
2b304cc9f7 Get child by ID 2022-02-22 11:35:01 +00:00
Will McGugan
9ea2c6e741 assert animation frame called 2022-02-21 16:48:20 +00:00
Will McGugan
8fa6749fdd more tests of animation 2022-02-21 16:26:46 +00:00
Will McGugan
73a1b5377c refinement 2022-02-21 15:37:47 +00:00
Will McGugan
8be6ea91f6 fix and test for animator 2022-02-21 15:32:02 +00:00