Add network's status check after creation of network
Add assert for network status should be active
As per my understanding when we are creating network,
we can not say that we have created the same ..
till the point network is not ACTIVE and cannot be used.
And logically also , it should be like this only.
Keeping all this things in mind proposed the patch for the same.
Change-Id: Iceba14dde08fa38f942190131b82b9ba515ed0d6
diff --git a/tempest/api/network/test_networks.py b/tempest/api/network/test_networks.py
index ac3a072..6f1dea1 100644
--- a/tempest/api/network/test_networks.py
+++ b/tempest/api/network/test_networks.py
@@ -75,6 +75,7 @@
self.assertEqual('201', resp['status'])
network = body['network']
net_id = network['id']
+ self.assertEqual('ACTIVE', network['status'])
# Verify network update
new_name = "New_network"
resp, body = self.client.update_network(net_id, name=new_name)