From a607aa3316544aa48e582bb34cd9531a6940276c Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Wed, 10 Jul 2013 11:45:58 +0100 Subject: Clarify instance_type vs flavor in nova-manage Make it clear that we are only using the term flavor now. Partially implements bp flavor-instance-type-dedup Change-Id: Ic26349d70fd99a20635f3ae45041c66b300a0513 --- nova/tests/test_nova_manage.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'nova/tests/test_nova_manage.py') diff --git a/nova/tests/test_nova_manage.py b/nova/tests/test_nova_manage.py index 3105343394..f764a07b80 100644 --- a/nova/tests/test_nova_manage.py +++ b/nova/tests/test_nova_manage.py @@ -280,9 +280,9 @@ class NetworkCommandsTestCase(test.TestCase): dis_host=True) -class InstanceTypeCommandsTestCase(test.TestCase): +class FlavorCommandsTestCase(test.TestCase): def setUp(self): - super(InstanceTypeCommandsTestCase, self).setUp() + super(FlavorCommandsTestCase, self).setUp() values = dict(name="test.small", memory_mb=220, @@ -295,13 +295,13 @@ class InstanceTypeCommandsTestCase(test.TestCase): self.instance_type_name = ref["name"] self.instance_type_id = ref["id"] self.instance_type_flavorid = ref["flavorid"] - self.set_key = manage.InstanceTypeCommands().set_key - self.unset_key = manage.InstanceTypeCommands().unset_key + self.set_key = manage.FlavorCommands().set_key + self.unset_key = manage.FlavorCommands().unset_key def tearDown(self): db.flavor_destroy(context.get_admin_context(), "test.small") - super(InstanceTypeCommandsTestCase, self).tearDown() + super(FlavorCommandsTestCase, self).tearDown() def _test_extra_specs_empty(self): empty_specs = {} -- cgit v1.2.1