Fix broken unit tests

Commit d41d423df3cfdd14d546f36745d33431cc293029 broke the
tests with addition of V6 tests that are not supported in the NSX|V
plugin.

Commit 53138b80f39895625373f3c8be916f79a68684fe broke with tests
that are not supported.

Change-Id: I1860aa4a691e7aa3c81bb22ba3ecdf2a8301bed5
This commit is contained in:
Gary Kotton 2016-01-22 18:03:02 -08:00
parent 63fe7dc792
commit 71d2738292
2 changed files with 24 additions and 0 deletions

View File

@ -880,6 +880,12 @@ class TestL3NatTestCase(L3NatTest,
def test_create_router_gateway_fails(self):
self.skipTest('not supported')
def test_first_floatingip_associate_notification(self):
self.skipTest('not supported')
def test_floatingip_disassociate_notification(self):
self.skipTest('not supported')
class ExtGwModeTestCase(NsxPluginV2TestCase,
test_ext_gw_mode.ExtGwModeIntTestCase):

View File

@ -1058,6 +1058,18 @@ class TestSubnetsV2(NsxVPluginV2TestCase,
def test_update_subnet_ipv6_cannot_disable_dhcp(self):
self.skipTest('No DHCP v6 Support yet')
def test_create_subnet_V6_pd_slaac(self):
self.skipTest('No DHCP v6 Support yet')
def test_create_subnet_V6_pd_stateless(self):
self.skipTest('No DHCP v6 Support yet')
def test_create_subnet_V6_pd_statefull(self):
self.skipTest('No DHCP v6 Support yet')
def test_create_subnet_V6_pd_no_mode(self):
self.skipTest('No DHCP v6 Support yet')
def _create_subnet_bulk(self, fmt, number, net_id, name,
ip_version=4, **kwargs):
base_data = {'subnet': {'network_id': net_id,
@ -1209,6 +1221,12 @@ class TestSubnetPoolsV2(NsxVPluginV2TestCase, test_plugin.TestSubnetsV2):
super(TestSubnetPoolsV2, self).setUp()
self.context = context.get_admin_context()
def test_create_subnet_V6_pd_stateless(self):
self.skipTest('No DHCP v6 Support yet')
def test_create_subnet_V6_pd_slaac(self):
self.skipTest('No DHCP v6 Support yet')
def test_create_subnet_dhcpv6_stateless_with_port_on_network(self):
self.skipTest('Not supported')