adjust imports of urlib so doesnt rely on requests 27/32727/1
authorDR695H <dr695h@att.com>
Fri, 23 Feb 2018 21:42:59 +0000 (16:42 -0500)
committerDR695H <dr695h@att.com>
Fri, 23 Feb 2018 21:48:57 +0000 (16:48 -0500)
Issue-ID: TEST-79

Change-Id: I8f067cf8a8b3c32b127fa985d46ab86008e063d4
Signed-off-by: DR695H <dr695h@att.com>
eteutils/HTTPUtils.py

index 0747ec9..9324af7 100644 (file)
@@ -1,6 +1,6 @@
 import urllib
-from requests.packages import urllib3
-from urlparse import urlparse
+import urllib3
+import urlparse
 
 class HTTPUtils:
     """HTTPUtils is common resource for simple http helper keywords."""
@@ -14,5 +14,5 @@ class HTTPUtils:
         urllib3.disable_warnings()
 
     def url_parse(self, url):
-       """  Get pieces of the URL """
-        return urlparse(url)
\ No newline at end of file
+        """  Get pieces of the URL """
+        return urlparse.urlparse(url)
\ No newline at end of file