mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
OVA file support
This commit is contained in:
1 parent
034ac392b7
commit
3d7d8682ee
7 files changed
+102
-10
No files matched your search
@@ -396,6 +396,13 @@ def test_hda_disk_image(vm, tmpdir):
|
||||
assert vm.hda_disk_image == str(tmpdir / "QEMU" / "test")
|
||||
|
||||
|
||||
def test_hda_disk_image_ova(vm, tmpdir):
|
||||
|
||||
with patch("gns3server.config.Config.get_section_config", return_value={"images_path": str(tmpdir)}):
|
||||
vm.hda_disk_image = "test.ovf/test.vmdk"
|
||||
assert vm.hda_disk_image == str(tmpdir / "QEMU" / "test.ovf" / "test.vmdk")
|
||||
|
||||
|
||||
def test_hdb_disk_image(vm, tmpdir):
|
||||
|
||||
with patch("gns3server.config.Config.get_section_config", return_value={"images_path": str(tmpdir)}):
|
||||
|
||||
Reference in new issue
Block a user