1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-02-26 15:12:34 +00:00

Fix tests.

This commit is contained in:
grossmj 2020-11-13 15:32:25 +10:30
parent 95ea1fa636
commit d58407c735

View File

@ -147,8 +147,8 @@ async def test_changing_path_with_quote_not_allowed(tmpdir):
@pytest.mark.asyncio @pytest.mark.asyncio
async def test_captures_directory(tmpdir): async def test_captures_directory(tmpdir):
p = Project(path=str(tmpdir / "capturestest"), name="Test") p = Project(name="Test")
assert p.captures_directory == str(tmpdir / "capturestest" / "project-files" / "captures") assert p.captures_directory == str(p.path + os.path.sep + "project-files" + os.path.sep + "captures")
assert os.path.exists(p.captures_directory) assert os.path.exists(p.captures_directory)