Beispiel #1
0
 def test_example_other_dynamic_widget() -> None:
     """
     Test dynamic widget update example.
     """
     app = dynamic_widget.App()
     app.current = 3
     app.animate_quit_button(app.quit_button, app.menu)
     dynamic_widget.main(test=True)
     test_reset_surface()
Beispiel #2
0
 def test_example_other_dynamic_widget_update() -> None:
     """
     Test dynamic widget update example.
     """
     app = dynamic_widget.App()
     app.current = 3
     app.animate_quit_button(app.quit_button, app.menu)
     dynamic_widget.main(test=True)
     app.fake_quit()
     app._on_selector_change(3, 3)