From d58407c735bd133e11378e84d5e53dd4df3dc639 Mon Sep 17 00:00:00 2001 From: grossmj Date: Fri, 13 Nov 2020 15:32:25 +1030 Subject: [PATCH] Fix tests. --- tests/controller/test_project.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/controller/test_project.py b/tests/controller/test_project.py index 93dbe27c..862fca76 100644 --- a/tests/controller/test_project.py +++ b/tests/controller/test_project.py @@ -147,8 +147,8 @@ async def test_changing_path_with_quote_not_allowed(tmpdir): @pytest.mark.asyncio async def test_captures_directory(tmpdir): - p = Project(path=str(tmpdir / "capturestest"), name="Test") - assert p.captures_directory == str(tmpdir / "capturestest" / "project-files" / "captures") + p = Project(name="Test") + assert p.captures_directory == str(p.path + os.path.sep + "project-files" + os.path.sep + "captures") assert os.path.exists(p.captures_directory)