From 0a196f9876da873ebdfcf91729e5a37e9151f201 Mon Sep 17 00:00:00 2001 From: Ken'ichi Ohmichi Date: Wed, 14 Oct 2015 05:35:01 +0000 Subject: [PATCH] Fix test_show_default_quota_set_xxx There is an internal test method _test_show_default_quota_set, but the method is not used for test_show_default_quota_set_xxx. That means show_default_quota_set() is not tested on unit tests. This patch makes test_show_default_quota_set_xxx use the internal method for the unit test purpose. Change-Id: Id0322784f42c5380dc887d1fbd844cf8a3482cf6 --- tempest_lib/tests/services/compute/test_quotas_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tempest_lib/tests/services/compute/test_quotas_client.py b/tempest_lib/tests/services/compute/test_quotas_client.py index a5a6a2a..c1c7c93 100644 --- a/tempest_lib/tests/services/compute/test_quotas_client.py +++ b/tempest_lib/tests/services/compute/test_quotas_client.py @@ -71,10 +71,10 @@ class TestQuotasClient(base.BaseComputeServiceTest): tenant_id=self.project_id) def test_show_default_quota_set_with_str_body(self): - self._test_show_quota_set() + self._test_show_default_quota_set() def test_show_default_quota_set_with_bytes_body(self): - self._test_show_quota_set(bytes_body=True) + self._test_show_default_quota_set(bytes_body=True) def test_update_quota_set(self): fake_quota_set = copy.deepcopy(self.FAKE_QUOTA_SET)