aboutsummaryrefslogtreecommitdiffstats
path: root/solo_tool_integrationtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'solo_tool_integrationtest.py')
-rw-r--r--solo_tool_integrationtest.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/solo_tool_integrationtest.py b/solo_tool_integrationtest.py
index 19bb406..561778b 100644
--- a/solo_tool_integrationtest.py
+++ b/solo_tool_integrationtest.py
@@ -43,6 +43,15 @@ class MockPlayer():
def setCurrentSong(self, path):
self.currentSong = path
+def test_addAndSetSong():
+ song = "/path/to/song"
+ mockPlayer = MockPlayer()
+
+ uut = SoloTool(mockPlayer)
+
+ uut.addSong(song)
+ uut.setSong(0)
+
def test_playerControls():
mockPlayer = MockPlayer()
uut = SoloTool(mockPlayer)