aboutsummaryrefslogtreecommitdiffstats
path: root/solo-tool-project/test/fixtures.py
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2025-07-17 15:14:38 +0200
committerEddy Pedroni <epedroni@pm.me>2025-07-17 15:24:48 +0200
commit8fdbcd3b98f5bf5479e2a67e40f5746b184908d3 (patch)
tree8366c7647a1874ea75aec4c2c8a9bdf60e9054fb /solo-tool-project/test/fixtures.py
parent89dcddce5e215400150232befddebc83f45d64d8 (diff)
Purge all mention of song pool
Diffstat (limited to 'solo-tool-project/test/fixtures.py')
-rw-r--r--solo-tool-project/test/fixtures.py16
1 files changed, 6 insertions, 10 deletions
diff --git a/solo-tool-project/test/fixtures.py b/solo-tool-project/test/fixtures.py
index 3306388..1f2299f 100644
--- a/solo-tool-project/test/fixtures.py
+++ b/solo-tool-project/test/fixtures.py
@@ -10,12 +10,6 @@ def mockPlayer():
return MockPlayer()
@pytest.fixture
-def songPool(tmp_path):
- path = tmp_path / "songs"
- os.mkdir(path)
- return path
-
-@pytest.fixture
def sessionPath(tmp_path):
path = tmp_path / "sessions"
os.mkdir(path)
@@ -26,11 +20,13 @@ def soloTool(mockPlayer):
return SoloTool(player=mockPlayer)
@pytest.fixture
-def testSongs(songPool):
+def testSongs(tmp_path):
+ path = tmp_path / "songs"
+ os.mkdir(path)
songs = [
- songPool / "test.flac",
- songPool / "test.mp3",
- songPool / "test.mp4"
+ path / "test.flac",
+ path / "test.mp3",
+ path / "test.mp4"
]
for song in songs: