-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
In some places where we need to pass a callback
lira/tests/tui/test_widgets.py
Line 15 in 713fbeb
| button = Button("Exit", handler=lambda: print("Hi")) |
lira/tests/tui/test_widgets.py
Lines 31 to 33 in 713fbeb
| ListElement("One", on_select=lambda: print("Select")), | |
| ListElement("Two"), | |
| ListElement("Three", on_focus=lambda: print("Focus")), |
We should actually pass a mock and assert that the mock has been called when expected.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers