From: DR695H Date: Fri, 23 Feb 2018 21:42:59 +0000 (-0500) Subject: adjust imports of urlib so doesnt rely on requests X-Git-Tag: 2.0.0-ONAP~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=861eba5f53f6ae8301e43ec6e87bee48fbbefc1f;p=testsuite%2Fpython-testing-utils.git adjust imports of urlib so doesnt rely on requests Issue-ID: TEST-79 Change-Id: I8f067cf8a8b3c32b127fa985d46ab86008e063d4 Signed-off-by: DR695H --- diff --git a/eteutils/HTTPUtils.py b/eteutils/HTTPUtils.py index 0747ec9..9324af7 100644 --- a/eteutils/HTTPUtils.py +++ b/eteutils/HTTPUtils.py @@ -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