Skip to content

Commit e191cb8

Browse files
committed
Fix tests. Ref GNS3#3002
1 parent e6bc75c commit e191cb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/registry/test_appliance.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ def test_create_new_version():
171171
os.path.dirname(__file__), "appliances", "microcore-linux.gns3a")
172172

173173
a = Appliance(registry, appliance_path)
174-
175-
a.create_new_version("42.0")
174+
new_version = {'images': {'hda_disk_image': {'filename': 'linux-microcore-42.0.img', 'version': '42.0'}}, 'name': '42.0'}
175+
a.create_new_version(new_version)
176176
v = a['versions'][-1:][0]
177177
assert v == {
178178
'images':

0 commit comments

Comments
 (0)