Skip to content

Commit

Permalink
Fix tests. Ref #3002
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Sep 13, 2020
1 parent e6bc75c commit e191cb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/registry/test_appliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def test_create_new_version():
os.path.dirname(__file__), "appliances", "microcore-linux.gns3a")

a = Appliance(registry, appliance_path)

a.create_new_version("42.0")
new_version = {'images': {'hda_disk_image': {'filename': 'linux-microcore-42.0.img', 'version': '42.0'}}, 'name': '42.0'}
a.create_new_version(new_version)
v = a['versions'][-1:][0]
assert v == {
'images':
Expand Down

0 comments on commit e191cb8

Please sign in to comment.