From 9626e138df23b3f7fff8324210eb70460cc9478a Mon Sep 17 00:00:00 2001 From: Belmiro Moreira Date: Wed, 8 May 2013 21:58:40 +0200 Subject: [PATCH] Removes duplicate assertEqual Removes duplicate assertEquals in "test_snapshot_in_ami_format" that evaluates the image state. bug #1177948 Change-Id: I380bc9596cae698c1b99d1bbfbdb98705fd938b5 --- nova/tests/test_libvirt.py | 1 - 1 file changed, 1 deletion(-) diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py index 35b65d76..edafd67c 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)