Merge "Fix wrong assert methods"
This commit is contained in:
commit
74aebe0d4e
@ -10104,7 +10104,7 @@ class LibvirtConnTestCase(test.NoDBTestCase,
|
|||||||
migrate_data, guest, [])
|
migrate_data, guest, [])
|
||||||
get_updated_guest_xml.assert_called_once()
|
get_updated_guest_xml.assert_called_once()
|
||||||
migrate.assert_called()
|
migrate.assert_called()
|
||||||
detach.asset_called()
|
detach.assert_called()
|
||||||
|
|
||||||
_test_direct()
|
_test_direct()
|
||||||
|
|
||||||
@ -10123,7 +10123,7 @@ class LibvirtConnTestCase(test.NoDBTestCase,
|
|||||||
migrate_data, guest, [])
|
migrate_data, guest, [])
|
||||||
get_updated_guest_xml.assert_called_once()
|
get_updated_guest_xml.assert_called_once()
|
||||||
migrate.assert_called()
|
migrate.assert_called()
|
||||||
detach.asset_called_once()
|
detach.assert_called_once()
|
||||||
|
|
||||||
_test_mix()
|
_test_mix()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user