1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +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
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)