Merge "Use correct routers_client in _delete_router"
This commit is contained in:
@@ -38,10 +38,8 @@ class BaseRouterTest(base.BaseAdminNetworkTest):
|
||||
client.delete_router(router_id)
|
||||
# Asserting that the router is not found in the list
|
||||
# after deletion
|
||||
list_body = self.routers_client.list_routers()
|
||||
routers_list = list()
|
||||
for router in list_body['routers']:
|
||||
routers_list.append(router['id'])
|
||||
list_body = client.list_routers()
|
||||
routers_list = [router['id'] for router in list_body['routers']]
|
||||
self.assertNotIn(router_id, routers_list)
|
||||
|
||||
def _add_router_interface_with_subnet_id(self, router_id, subnet_id):
|
||||
|
||||
Reference in New Issue
Block a user