aboutsummaryrefslogtreecommitdiffstats
path: root/solo-tool-project/test/fixtures.py
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2025-07-15 22:54:55 +0200
committerEddy Pedroni <epedroni@pm.me>2025-07-15 22:54:55 +0200
commit1d42bfe5f7b3c671fc5b50e716c5e8aa68728fb3 (patch)
tree0645cba6faaf0e20926a03c3d5e2dd4d878c1d7b /solo-tool-project/test/fixtures.py
parentfb63f6b5912171595065ea7498d1d770a175d1d9 (diff)
Refactor session manager to be independent of the underlying storage
Diffstat (limited to 'solo-tool-project/test/fixtures.py')
-rw-r--r--solo-tool-project/test/fixtures.py11
1 files changed, 9 insertions, 2 deletions
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