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:
vponomaryov 2014-12-19 11:43:53 +02:00
parent a7d71c2991
commit ecf0b90b73

View File

@ -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: