aboutsummaryrefslogtreecommitdiffstats
path: root/solo-tool-project/test/fixtures.py
diff options
context:
space:
mode:
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