aboutsummaryrefslogtreecommitdiffstats
path: root/session_manager_unittest.py
diff options
context:
space:
mode:
Diffstat (limited to 'session_manager_unittest.py')
-rw-r--r--session_manager_unittest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/session_manager_unittest.py b/session_manager_unittest.py
index 30283a1..169aa17 100644
--- a/session_manager_unittest.py
+++ b/session_manager_unittest.py
@@ -45,7 +45,7 @@ class ABControllerMock:
self.limits[song] = list()
self.limits[song].append([aLimit, bLimit])
- def getLimits(self, song):
+ def getStoredLimits(self, song):
return self.limits.get(song)
def clear(self):
@@ -143,7 +143,7 @@ def test_loadAndSaveEmptySession():
songs = playlistMock.getSongs()
assert songs == list()
for s in songs:
- assert abControllerMock.getLimits(s) == None
+ assert abControllerMock.getStoredLimits(s) == None
def test_loadSessionNotAdditive():
playlistMock = PlaylistMock()
@@ -157,7 +157,7 @@ def test_loadSessionNotAdditive():
songs = playlistMock.getSongs()
assert len(songs) == len(set(songs))
for s in songs:
- abLimits = abControllerMock.getLimits(s)
+ abLimits = abControllerMock.getStoredLimits(s)
if abLimits is not None:
abLimitStr = [f"[{l[0]}, {l[1]}] " for l in abLimits]
assert len(abLimitStr) == len(set(abLimitStr))