summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelmiro Moreira <moreira.belmiro.email.lists@gmail.com>2013-05-08 21:58:40 +0200
committerBelmiro Moreira <moreira.belmiro.email.lists@gmail.com>2013-05-08 21:58:40 +0200
commit05f01d25fb4ea226acb8f412a4c2091b08859b01 (patch)
tree08d5e04033f2546b3e580aca17b00163bb9d3aad
parent4e61f415c4cbddcffefc05008acce1f96b51a6b1 (diff)
Removes duplicate assertEqual
Removes duplicate assertEquals in "test_snapshot_in_ami_format" that evaluates the image state. bug #1177948 Change-Id: I380bc9596cae698c1b99d1bbfbdb98705fd938b5
-rw-r--r--nova/tests/test_libvirt.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py
index 35b65d764..edafd67c1 100644
--- a/nova/tests/test_libvirt.py
+++ b/nova/tests/test_libvirt.py
@@ -1238,7 +1238,6 @@ class LibvirtConnTestCase(test.TestCase):
snapshot = image_service.show(context, recv_meta['id'])
self.assertIsNone(func_call_matcher.match())
self.assertEquals(snapshot['properties']['image_state'], 'available')
- self.assertEquals(snapshot['properties']['image_state'], 'available')
self.assertEquals(snapshot['status'], 'active')
self.assertEquals(snapshot['disk_format'], 'ami')
self.assertEquals(snapshot['name'], snapshot_name)