summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-08-25 02:20:47 +0000
committerGerrit Code Review <review@openstack.org>2018-08-25 02:20:47 +0000
commitadb8c4aba2e20ad9c604d3d5a0d6870d8080ed0c (patch)
tree36e3bbaeb17a2b2d42f1d877838bb28fea01b71d
parent72b1e5a40f7b06d334640f8f8b2e9a605f587419 (diff)
parentfe6a3604565703260ddc3cded60f4915f7bba4ce (diff)
Merge "use setup_extension in unit tests"
-rw-r--r--neutron_lbaas/tests/unit/services/loadbalancer/test_loadbalancer_plugin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/neutron_lbaas/tests/unit/services/loadbalancer/test_loadbalancer_plugin.py b/neutron_lbaas/tests/unit/services/loadbalancer/test_loadbalancer_plugin.py
index e3cc1c9..20b6e59 100644
--- a/neutron_lbaas/tests/unit/services/loadbalancer/test_loadbalancer_plugin.py
+++ b/neutron_lbaas/tests/unit/services/loadbalancer/test_loadbalancer_plugin.py
@@ -45,10 +45,10 @@ class TestLoadBalancerExtensionV2TestCase(base.ExtensionTestCase):
45 resource_map[k].update(hm_down.EXTENDED_ATTRIBUTES_2_0[k]) 45 resource_map[k].update(hm_down.EXTENDED_ATTRIBUTES_2_0[k])
46 for k in lb_network_vip.EXTENDED_ATTRIBUTES_2_0.keys(): 46 for k in lb_network_vip.EXTENDED_ATTRIBUTES_2_0.keys():
47 resource_map[k].update(lb_network_vip.EXTENDED_ATTRIBUTES_2_0[k]) 47 resource_map[k].update(lb_network_vip.EXTENDED_ATTRIBUTES_2_0[k])
48 self._setUpExtension( 48 self.setup_extension(
49 'neutron_lbaas.extensions.loadbalancerv2.LoadBalancerPluginBaseV2', 49 'neutron_lbaas.extensions.loadbalancerv2.LoadBalancerPluginBaseV2',
50 constants.LOADBALANCERV2, resource_map, 50 constants.LOADBALANCERV2, loadbalancerv2.Loadbalancerv2,
51 loadbalancerv2.Loadbalancerv2, 'lbaas', use_quota=True) 51 'lbaas', use_quota=True)
52 52
53 def test_loadbalancer_create(self): 53 def test_loadbalancer_create(self):
54 lb_id = _uuid() 54 lb_id = _uuid()