Fix tempest compatibility for network client
Commit in tempest https://github.com/openstack/tempest/commit/34e88120 changed response type from network client, make our plugin compatible with it. Change-Id: Iff9073866239d7ee3bcbd2b71c1e930bc91d58e9
This commit is contained in:
parent
a7d71c2991
commit
ecf0b90b73
@ -182,7 +182,7 @@ class BaseSharesTest(test.BaseTestCase):
|
||||
|
||||
# Search for networks, created in previous runs
|
||||
service_net_name = "share-service"
|
||||
__, networks = network_client.list_networks()
|
||||
networks = network_client.list_networks()
|
||||
if "networks" in networks.keys():
|
||||
networks = networks["networks"]
|
||||
for network in networks:
|
||||
|
Loading…
Reference in New Issue
Block a user