Make two identical LBaaS tests different

The argument for "test_add_pool_get_provider_list_exception"
should be "with_provider_exception". Moreover, in
"test_add_pool_get" the argument "with_service_type=True"
is redundant since True is default value.

Closes-Bug: #1279276

Change-Id: I669eb34634fa7169165aff1ef2d5a3ee77c026ad
This commit is contained in:
Tatiana Mazur 2014-02-12 14:03:22 +04:00
parent 931df5e383
commit cf252d2252

View File

@ -213,13 +213,13 @@ class LoadBalancerTests(test.TestCase):
'provider_list',
'is_extension_supported')})
def test_add_pool_get(self):
self._test_add_pool_get(with_service_type=True)
self._test_add_pool_get()
@test.create_stubs({api.neutron: ('network_list_for_tenant',
'provider_list',
'is_extension_supported')})
def test_add_pool_get_provider_list_exception(self):
self._test_add_pool_get(with_service_type=True)
self._test_add_pool_get(with_provider_exception=True)
@test.create_stubs({api.neutron: ('network_list_for_tenant',
'is_extension_supported')})