Commit 56931fc3 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Fix unit tests

parent 2e6e187c
......@@ -46,12 +46,12 @@ def _test_Create():
btn.SetSelection(1)
assert btn.GetSelection() == 1
btn.Enable(0)
btn.Enable(0, False)
btn.Disable(0)
btn.EnableChoice(0)
btn.EnableChoice(0, False)
btn.DisableChoice(0)
with pytest.raises(IndexError):
btn.Enable(2)
btn.EnableChoice(2)
with pytest.raises(IndexError):
btn.SetSelection(2)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment