mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Fix add existing IOS not working
Fix https://github.com/GNS3/gns3-gui/issues/775
This commit is contained in:
1 parent
7e7c8a5450
commit
7ee12edb5c
3 files changed
+7
-4
No files matched your search
@@ -156,7 +156,7 @@ def test_vms(server, tmpdir, fake_dynamips, fake_file):
|
||||
with patch("gns3server.modules.Dynamips.get_images_directory", return_value=str(tmpdir), example=True):
|
||||
response = server.get("/dynamips/vms")
|
||||
assert response.status == 200
|
||||
assert response.json == [{"filename": "7200.bin"}]
|
||||
assert response.json == [{"filename": "7200.bin", "path": str(tmpdir / "7200.bin")}]
|
||||
|
||||
|
||||
def test_upload_vm(server, tmpdir):
|
||||
|
||||
Reference in new issue
Block a user