summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormelanie witt <melwitt@yahoo-inc.com>2015-02-03 18:16:10 +0000
committermelanie witt <melwitt@yahoo-inc.com>2015-02-03 18:16:10 +0000
commit9bd54465b567852350beb813e4590851d6c1f68d (patch)
tree3d0f3eac64f5f68b412bab3adf8e923ce1537440
parent9b27095a001042a59c105828a5a3ea34f44375cf (diff)
downloadnova-9bd54465b567852350beb813e4590851d6c1f68d.tar.gz
Remove redundant assert of mock volume save call
Commit 494756c822793f28d69c36e23920ff59809e9a44 added an assert of mock volume_save call parameters which made an existing assert of mock volume_save.called redundant. This change removes the old assert from the libvirt driver test. Change-Id: Ifbdb9268776bf431574c93a9d935c6eca571d606
-rw-r--r--nova/tests/unit/virt/libvirt/test_driver.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/nova/tests/unit/virt/libvirt/test_driver.py b/nova/tests/unit/virt/libvirt/test_driver.py
index 214bb2938a..9a00317e29 100644
--- a/nova/tests/unit/virt/libvirt/test_driver.py
+++ b/nova/tests/unit/virt/libvirt/test_driver.py
@@ -11119,7 +11119,6 @@ Active: 8381604 kB
get_domain.assert_called_once_with(instance)
get_disk_xml.assert_called_once_with(mock_dom.XMLDesc(0), 'vdb')
connect_volume.assert_called_once_with(new_connection_info, disk_info)
- self.assertTrue(volume_save.called)
swap_volume.assert_called_once_with(mock_dom, 'vdb',
'/fake-new-volume', 1)
disconnect_volume.assert_called_once_with(old_connection_info, 'vdb')