summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorMatt Dietz <matt.dietz@rackspace.com>2012-07-30 19:27:52 +0000
committerMatt Dietz <matt.dietz@rackspace.com>2012-07-30 19:27:52 +0000
commita84c35d0830f68553cf9c814f7ae2eccf04b84e8 (patch)
tree3d729ff662d7628822cacbaea3aed73ff807a30a /nova/tests
parent115fea1f9fa0fdb93f344a8ef9dc8ce9ba3cf6e9 (diff)
Reverts fix lp1031004
The fix was incorrectly applied to the resize.end event. There was a miscommunication about the resize.end versus resize.finish event Change-Id: I301b46bbb7684d70946a426ce371eaf1198b97df
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/compute/test_compute.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/compute/test_compute.py b/nova/tests/compute/test_compute.py
index 848376da1..c5913d9d3 100644
--- a/nova/tests/compute/test_compute.py
+++ b/nova/tests/compute/test_compute.py
@@ -1,4 +1,4 @@
-# vim: tabstop=5 shiftwidth=4 softtabstop=4
+# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
@@ -1208,7 +1208,7 @@ class ComputeTestCase(BaseTestCase):
migration_id=int(migration_ref['id']), disk_info={}, image={},
instance=instance)
- self.assertEquals(len(test_notifier.NOTIFICATIONS), 3)
+ self.assertEquals(len(test_notifier.NOTIFICATIONS), 2)
msg = test_notifier.NOTIFICATIONS[0]
self.assertEquals(msg['event_type'],
'compute.instance.finish_resize.start')