summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/test_hypervapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/test_hypervapi.py b/nova/tests/test_hypervapi.py
index 1c49fe2f5..36f153531 100644
--- a/nova/tests/test_hypervapi.py
+++ b/nova/tests/test_hypervapi.py
@@ -188,7 +188,7 @@ class HyperVAPITestCase(basetestcase.BaseTestCase):
self._spawn_instance(True)
info = self._conn.get_info(self._instance_data)
- self.assertEquals(info["state"], str(power_state.RUNNING))
+ self.assertEquals(info["state"], power_state.RUNNING)
def test_spawn_cow_image(self):
self._test_spawn_instance(True)