diff options
Diffstat (limited to 'abcontroller_unittest.py')
-rw-r--r-- | abcontroller_unittest.py | 4 |
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" |