aboutsummaryrefslogtreecommitdiffstats
path: root/solo-tool-project/test
diff options
context:
space:
mode:
Diffstat (limited to 'solo-tool-project/test')
-rw-r--r--solo-tool-project/test/fixtures.py4
-rw-r--r--solo-tool-project/test/solo_tool_songs_integrationtest.py7
2 files changed, 2 insertions, 9 deletions
diff --git a/solo-tool-project/test/fixtures.py b/solo-tool-project/test/fixtures.py
index e63d363..3306388 100644
--- a/solo-tool-project/test/fixtures.py
+++ b/solo-tool-project/test/fixtures.py
@@ -22,8 +22,8 @@ def sessionPath(tmp_path):
return path
@pytest.fixture
-def soloTool(mockPlayer, songPool):
- return SoloTool(songPool, player=mockPlayer)
+def soloTool(mockPlayer):
+ return SoloTool(player=mockPlayer)
@pytest.fixture
def testSongs(songPool):
diff --git a/solo-tool-project/test/solo_tool_songs_integrationtest.py b/solo-tool-project/test/solo_tool_songs_integrationtest.py
index 6030d19..0acfc2b 100644
--- a/solo-tool-project/test/solo_tool_songs_integrationtest.py
+++ b/solo-tool-project/test/solo_tool_songs_integrationtest.py
@@ -66,13 +66,6 @@ def test_songAdditionEdgeCases(uut, mockPlayer, testSongs):
assert mockPlayer.currentSong == testSongs[0]
assert uut.songs == testSongs
- # Songs must exist in the filesystem
- with pytest.raises(FileNotFoundError):
- uut.addSong("/not/a/real/file")
- assert uut.song == 0
- assert mockPlayer.currentSong == testSongs[0]
- assert uut.songs == testSongs
-
def test_songSelectionNotification(uut, testSongs):
selectionCalled = False
selectionValue = None