Remove incorrect filter on listing subnets

The test case uses 'admin_state_up' as a filter parameter on listing
subnets, but this is an invalid filter since the subnet resource
doesn't have this attribute. This patch removes this filter.

Change-Id: I3f2e6e861adaeef81a1a5819a57b28f5c6281d80
Related-Bug: #1749820
This commit is contained in:
Hongbin Lu 2018-06-14 15:15:41 +00:00
parent 5fbf727f87
commit 468e4d3401
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class TestAutoAllocatedTopology(base.BaseAdminNetworkTest):
up = {'admin_state_up': True}
networks = _count(self.client.list_networks(**up)['networks'])
subnets = _count(self.client.list_subnets(**up)['subnets'])
subnets = _count(self.client.list_subnets()['subnets'])
routers = _count(self.client.list_routers(**up)['routers'])
return networks, subnets, routers