From 1d42bfe5f7b3c671fc5b50e716c5e8aa68728fb3 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Tue, 15 Jul 2025 22:54:55 +0200 Subject: Refactor session manager to be independent of the underlying storage --- solo-tool-project/test/fixtures.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 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 f70901b..e63d363 100644 --- a/solo-tool-project/test/fixtures.py +++ b/solo-tool-project/test/fixtures.py @@ -11,7 +11,15 @@ def mockPlayer(): @pytest.fixture def songPool(tmp_path): - return tmp_path / "songs" + path = tmp_path / "songs" + os.mkdir(path) + return path + +@pytest.fixture +def sessionPath(tmp_path): + path = tmp_path / "sessions" + os.mkdir(path) + return path @pytest.fixture def soloTool(mockPlayer, songPool): @@ -25,7 +33,6 @@ def testSongs(songPool): songPool / "test.mp4" ] - os.mkdir(songPool) for song in songs: song.touch() return songs -- cgit v1.2.3