Fix unit tests
Commit Id5d8ac09a38c656619f88a6f87b8f384fe4c55a8 broke some unittests Change-Id: If87a8b5acd5d0e21d5971aeec1cd783ba6b7b6ba
This commit is contained in:
parent
2516a06d3c
commit
e4535c0c54
|
@ -1885,6 +1885,9 @@ class NsxPTestL3NatTestCase(NsxPTestL3NatTest,
|
|||
enable_dhcp=False) as s:
|
||||
self._test_router_add_interface_subnet(r, s)
|
||||
|
||||
def test_router_set_gateway_cidr_overlapped_with_subnets(self):
|
||||
self.skipTest('2 dhcp subnets not supported')
|
||||
|
||||
@common_v3.with_disable_dhcp
|
||||
def test_route_clear_routes_with_None(self):
|
||||
super(NsxPTestL3NatTestCase,
|
||||
|
|
|
@ -2178,6 +2178,9 @@ class TestL3NatTestCase(L3NatTest,
|
|||
super(TestL3NatTestCase,
|
||||
self).test_router_add_and_remove_gateway()
|
||||
|
||||
def test_router_set_gateway_cidr_overlapped_with_subnets(self):
|
||||
self.skipTest('2 dhcp subnets not supported')
|
||||
|
||||
def test_router_update_gateway_upon_subnet_create_max_ips_ipv6(self):
|
||||
self.skipTest('not supported')
|
||||
|
||||
|
|
|
@ -250,7 +250,7 @@ class TestVpnaasDriver(test_plugin.NsxVPluginV2TestCase):
|
|||
self.router(router_type='exclusive',
|
||||
external_gateway_info={'network_id':
|
||||
ext_net['network']['id']}) as router,\
|
||||
self.subnet() as sub:
|
||||
self.subnet(cidr="20.0.0.0/24") as sub:
|
||||
# add an interface to the router
|
||||
self.l3plugin.add_router_interface(
|
||||
self.context,
|
||||
|
@ -275,7 +275,7 @@ class TestVpnaasDriver(test_plugin.NsxVPluginV2TestCase):
|
|||
self.router(router_type='shared',
|
||||
external_gateway_info={'network_id':
|
||||
ext_net['network']['id']}) as router,\
|
||||
self.subnet() as sub:
|
||||
self.subnet(cidr="20.0.0.0/24") as sub:
|
||||
# add an interface to the router
|
||||
self.l3plugin.add_router_interface(
|
||||
self.context,
|
||||
|
@ -320,7 +320,7 @@ class TestVpnaasDriver(test_plugin.NsxVPluginV2TestCase):
|
|||
self.router(router_type='exclusive',
|
||||
external_gateway_info={'network_id':
|
||||
ext_net['network']['id']}) as router,\
|
||||
self.subnet() as sub:
|
||||
self.subnet(cidr="20.0.0.0/24") as sub:
|
||||
# add an interface to the router
|
||||
self.l3plugin.add_router_interface(
|
||||
self.context,
|
||||
|
|
Loading…
Reference in New Issue