aboutsummaryrefslogtreecommitdiffstats
path: root/abcontroller_unittest.py
diff options
context:
space:
mode:
authorEddy Pedroni <eddy@0xf7.com>2022-02-03 20:20:30 +0100
committerEddy Pedroni <eddy@0xf7.com>2022-02-03 20:20:30 +0100
commitb609b4ce55104c77a3f69366874a3e25e3061172 (patch)
treedb0095a810acc63d34e1719f59fca668fa693bf0 /abcontroller_unittest.py
parent6debe39546e62d5796f22db2388341ae9132042d (diff)
Added AB toggle button to MIDI interface
Diffstat (limited to 'abcontroller_unittest.py')
-rw-r--r--abcontroller_unittest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/abcontroller_unittest.py b/abcontroller_unittest.py
index f9e947d..9fdcbc3 100644
--- a/abcontroller_unittest.py
+++ b/abcontroller_unittest.py
@@ -103,11 +103,15 @@ def test_disableAbRepeat():
uut.loadLimits(0)
assert uut.getLoadedIndex() == 0
+ assert uut.isEnabled()
+
uut.setEnable(False)
checkLimits(uut, abLimits.a, abLimits.b, fail=True)
+ assert not uut.isEnabled()
uut.setEnable(True)
checkLimits(uut, abLimits.a, abLimits.b)
+ assert uut.isEnabled()
def test_storeLimitsToSpecificSong():
song = "/path/to/song"