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:
parent
9a27261384
commit
33d72e2745
@ -115,7 +115,7 @@ class TestAllowedAddressPairsNSXv(test_nsx_v_plugin.NsxVPluginV2TestCase,
|
|||||||
address_pairs)
|
address_pairs)
|
||||||
self._delete('ports', port['port']['id'])
|
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:
|
with self.network() as net:
|
||||||
address_pairs = [{'ip_address': '10.0.0.1'}]
|
address_pairs = [{'ip_address': '10.0.0.1'}]
|
||||||
res = self._create_port(self.fmt, net['network']['id'],
|
res = self._create_port(self.fmt, net['network']['id'],
|
||||||
|
@ -2641,7 +2641,7 @@ class TestNSXvAllowedAddressPairs(NsxVPluginV2TestCase,
|
|||||||
def test_create_port_security_false_allowed_address_pairs(self):
|
def test_create_port_security_false_allowed_address_pairs(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def test_create_port_remove_allowed_address_pairs(self):
|
def _test_create_port_remove_allowed_address_pairs(self, update_value):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def test_create_overlap_with_fixed_ip(self):
|
def test_create_overlap_with_fixed_ip(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user