From 71d2738292f4fb96608e2758425a14755ab55291 Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Fri, 22 Jan 2016 18:03:02 -0800 Subject: [PATCH] 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 --- vmware_nsx/tests/unit/nsx_mh/test_plugin.py | 6 ++++++ vmware_nsx/tests/unit/nsx_v/test_plugin.py | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/vmware_nsx/tests/unit/nsx_mh/test_plugin.py b/vmware_nsx/tests/unit/nsx_mh/test_plugin.py index beee8d3f34..4bca79ecf3 100644 --- a/vmware_nsx/tests/unit/nsx_mh/test_plugin.py +++ b/vmware_nsx/tests/unit/nsx_mh/test_plugin.py @@ -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): diff --git a/vmware_nsx/tests/unit/nsx_v/test_plugin.py b/vmware_nsx/tests/unit/nsx_v/test_plugin.py index 2df61e2d57..45917da3fd 100644 --- a/vmware_nsx/tests/unit/nsx_v/test_plugin.py +++ b/vmware_nsx/tests/unit/nsx_v/test_plugin.py @@ -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')