NSXv: fix broken unit tests

Commit 8052c3985325e9067d83496936092ee9334df75b broke the unit
tests for the NSXv plugin. The tests added upstream updated
the MAC address and this is not supported and should be skipped
in the NSX|V

Co-Authored-By: Aaron Rosen <aaronorosen@gmail.com>

Change-Id: I876e7f74e74bd48430cdd42ab7c5533e495e9a49
This commit is contained in:
Gary Kotton 2016-02-27 23:57:22 -08:00
parent 9a27261384
commit 33d72e2745
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ class TestAllowedAddressPairsNSXv(test_nsx_v_plugin.NsxVPluginV2TestCase,
address_pairs)
self._delete('ports', port['port']['id'])
def test_create_port_remove_allowed_address_pairs(self):
def _test_create_port_remove_allowed_address_pairs(self, update_value):
with self.network() as net:
address_pairs = [{'ip_address': '10.0.0.1'}]
res = self._create_port(self.fmt, net['network']['id'],

View File

@ -2641,7 +2641,7 @@ class TestNSXvAllowedAddressPairs(NsxVPluginV2TestCase,
def test_create_port_security_false_allowed_address_pairs(self):
pass
def test_create_port_remove_allowed_address_pairs(self):
def _test_create_port_remove_allowed_address_pairs(self, update_value):
pass
def test_create_overlap_with_fixed_ip(self):