summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorEd Leafe <ed@leafe.com>2011-01-06 06:45:14 -0600
committerEd Leafe <ed@leafe.com>2011-01-06 06:45:14 -0600
commita3e12f5eb92921acc622ea7bd9097edeea0d40fd (patch)
tree96d92e3c6eca0bc40ce9c2b1167e149725ddadf0 /nova/tests
parent950f1b5c713eaeabd7cbd8141556cc1da3cc00b1 (diff)
downloadnova-a3e12f5eb92921acc622ea7bd9097edeea0d40fd.tar.gz
nova-a3e12f5eb92921acc622ea7bd9097edeea0d40fd.tar.xz
nova-a3e12f5eb92921acc622ea7bd9097edeea0d40fd.zip
Renamed 'set_root_password' to 'set_admin_password' globally.
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/test_compute.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/test_compute.py b/nova/tests/test_compute.py
index 7c258e636..88e14d7df 100644
--- a/nova/tests/test_compute.py
+++ b/nova/tests/test_compute.py
@@ -151,11 +151,11 @@ class ComputeTestCase(test.TestCase):
self.compute.reboot_instance(self.context, instance_id)
self.compute.terminate_instance(self.context, instance_id)
- def test_reset_root_password(self):
- """Ensure instance can have its root password reset"""
+ def test_set_admin_password(self):
+ """Ensure instance can have its admin password set"""
instance_id = self._create_instance()
self.compute.run_instance(self.context, instance_id)
- self.compute.reset_root_password(self.context, instance_id)
+ self.compute.set_admin_password(self.context, instance_id)
self.compute.terminate_instance(self.context, instance_id)
def test_snapshot(self):