Use OS_CMP in place of OS_COMPUTE
[integration/test.git] / tools / odl-mdsal-clustering-tests / clustering-functional-test / util.py
index 1c81235c691865b1f75c21970931c198edbf9b9a..e1667dc48d9bee41d239a10ec6a01a161d55c696 100644 (file)
@@ -1,12 +1,12 @@
+import requests
+
+
 __author__ = "Basheeruddin Ahmed"
 __copyright__ = "Copyright(c) 2014, Cisco Systems, Inc."
 __license__ = "New-style BSD"
 __email__ = "syedbahm@cisco.com"
 
 
-import requests
-
-
 def get(url, userId, password):
     """Helps in making GET REST calls"""
     headers = {}
@@ -40,7 +40,7 @@ def post(url, userId, password, data):
 
     resp = requests.post(url, data.encode(), headers=headers)
 
-    # print (resp.raise_for_status())
+    # print(resp.raise_for_status())
     print(resp.headers)
 
     return resp