From 8fdbcd3b98f5bf5479e2a67e40f5746b184908d3 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Thu, 17 Jul 2025 15:14:38 +0200 Subject: Purge all mention of song pool --- solo-tool-project/test/fixtures.py | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'solo-tool-project/test/fixtures.py') 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 @@ -9,12 +9,6 @@ from player_mock import Player as MockPlayer 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" @@ -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: -- cgit v1.2.3