From b609b4ce55104c77a3f69366874a3e25e3061172 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Thu, 3 Feb 2022 20:20:30 +0100 Subject: Added AB toggle button to MIDI interface --- abcontroller_unittest.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'abcontroller_unittest.py') 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" -- cgit v1.2.3