mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-13 20:08:55 +00:00
Fix tests.
This commit is contained in:
parent
95ea1fa636
commit
d58407c735
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user