From 6eb42e6d4468ad161281125c77a41063f93380e1 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Tue, 21 Dec 2021 18:24:55 +0100 Subject: Added session manager, renamed solo-tool.py --- 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 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" -- cgit v1.2.3