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 839c88a..42eaabc 100644 --- a/abcontroller_unittest.py +++ b/abcontroller_unittest.py @@ -37,6 +37,7 @@ def test_oneSetOfLimits(): uut.setCurrentLimits(0) checkLimits(uut, abLimits.a, abLimits.b) + assert uut.getLimits(song) == [abLimits] def test_multipleSetsOfLimits(): song = "/path/to/song" @@ -55,6 +56,8 @@ def test_multipleSetsOfLimits(): uut.setCurrentLimits(i) checkLimits(uut, l.a, l.b) + assert uut.getLimits(song) == abLimits + def test_multipleSongs(): songs = [ "/path/to/song", @@ -73,6 +76,7 @@ def test_multipleSongs(): uut.setCurrentLimits(0) checkLimits(uut, abLimits[i].a, abLimits[i].b) + assert uut.getLimits(s) == [abLimits[i]] def test_disableAbRepeat(): song = "/path/to/song" |