diff options
Diffstat (limited to 'solo-tool-project/test/fixtures.py')
-rw-r--r-- | solo-tool-project/test/fixtures.py | 16 |
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: |