summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-08-03 23:01:18 -0400
committerRussell Bryant <rbryant@redhat.com>2012-08-06 15:09:33 -0400
commit2ed2c411a982e297d6b756f8a21939fadb2a0a93 (patch)
tree3b2e6f11aa8c13e46c444ae60230d634e0d4626e /nova/tests
parent98f753d4c5e8bdf31716a7452f89930a51b3edf5 (diff)
Add underscore in front of post_live_migration.
Rename this method of the compute manager by just adding an underscore in front of the name. This is a private method and is not part of the rpc api. Make that more apparent by using the private method naming convention. Change-Id: I66633ffd59c6d670ccc748855fb1dcbac7df222d
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/compute/test_compute.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/compute/test_compute.py b/nova/tests/compute/test_compute.py
index e0305cadc..8561d5124 100644
--- a/nova/tests/compute/test_compute.py
+++ b/nova/tests/compute/test_compute.py
@@ -1765,7 +1765,7 @@ class ComputeTestCase(BaseTestCase):
# start test
self.mox.ReplayAll()
- self.compute.post_live_migration(c, inst_ref, dest)
+ self.compute._post_live_migration(c, inst_ref, dest)
# make sure floating ips are rewritten to destinatioin hostname.
flo_refs = db.floating_ip_get_all_by_host(c, dest)