mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
Fix dynamips tests
This commit is contained in:
parent
1f116fc992
commit
e93f1330b8
@ -150,6 +150,7 @@ def fake_file(tmpdir):
|
|||||||
os.chmod(path, stat.S_IREAD)
|
os.chmod(path, stat.S_IREAD)
|
||||||
return path
|
return path
|
||||||
|
|
||||||
|
|
||||||
def test_vms(server, tmpdir, fake_dynamips, fake_file):
|
def test_vms(server, tmpdir, fake_dynamips, fake_file):
|
||||||
|
|
||||||
with patch("gns3server.modules.Dynamips.get_images_directory", return_value=str(tmpdir), example=True):
|
with patch("gns3server.modules.Dynamips.get_images_directory", return_value=str(tmpdir), example=True):
|
||||||
|
Loading…
Reference in New Issue
Block a user