NSX|P: fix broken UT

Commit I8ae478a03ceedc6c3b1ae1d40081b5e5158813e6 added a new unit test
that is not fully supported with the P plugin.
This patch overrids it to disable the subnet DHCP and allow the test
to pass.

Change-Id: I6027d7830fa7d2869c2e1a991dad138777eec28f
This commit is contained in:
Adit Sarfaty 2019-06-26 11:16:03 +03:00
parent 33af3d9fd0
commit f418e6db08
1 changed files with 5 additions and 0 deletions

View File

@ -271,6 +271,11 @@ class NsxV3TestSubnets(NsxV3SubnetMixin,
super(NsxV3TestSubnets,
self).test_list_subnets_filtering_by_project_id()
@with_disable_dhcp
def test_list_subnets_filtering_by_cidr_used_on_create(self):
super(NsxV3TestSubnets,
self).test_list_subnets_filtering_by_cidr_used_on_create()
@with_disable_dhcp
def test_list_subnets(self):
super(NsxV3TestSubnets, self).test_list_subnets()