Removes duplicate assertEqual

Removes duplicate assertEquals in "test_snapshot_in_ami_format"
that evaluates the image state.

bug #1177948

Change-Id: I380bc9596cae698c1b99d1bbfbdb98705fd938b5
This commit is contained in:
Belmiro Moreira
2013-05-08 21:58:40 +02:00
parent 389da1fda2
commit 9626e138df

View File

@@ -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)