From 468e4d3401d4442d98be18783476209b8ea1cbf1 Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Thu, 14 Jun 2018 15:15:41 +0000 Subject: [PATCH] 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 --- neutron_tempest_plugin/api/test_auto_allocated_topology.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron_tempest_plugin/api/test_auto_allocated_topology.py b/neutron_tempest_plugin/api/test_auto_allocated_topology.py index 37f9ad1b..0baa2a80 100644 --- a/neutron_tempest_plugin/api/test_auto_allocated_topology.py +++ b/neutron_tempest_plugin/api/test_auto_allocated_topology.py @@ -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