Updated test for vhd-fixed subformat type

This commit is contained in:
David Cassany 2016-11-08 18:40:51 +01:00
parent a36b12eee1
commit c4fd7635fd

View File

@ -44,7 +44,7 @@ class TestDiskFormat(object):
xml_state.build_type.get_vhdfixedtag = mock.Mock(
return_value='disk-tag'
)
DiskFormat('vhdfixed', xml_state, 'root_dir', 'target_dir')
DiskFormat('vhd-fixed', xml_state, 'root_dir', 'target_dir')
mock_vhdfixed.assert_called_once_with(
xml_state, 'root_dir', 'target_dir', {'--tag': 'disk-tag'}
)