From 6ac81f3020349108064ac040a00a2b3a5034988e Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Thu, 18 Jun 2015 11:39:22 +0200 Subject: functet_utils: bugfix check_internet_connectivity except JIRA: FUNCTEST-17 Change-Id: I28cdd11b1004507ae7b455f19a2555a17eae85c7 Signed-off-by: jose.lausuch --- testcases/functest_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testcases') diff --git a/testcases/functest_utils.py b/testcases/functest_utils.py index 838b09c4..e146db1c 100644 --- a/testcases/functest_utils.py +++ b/testcases/functest_utils.py @@ -203,7 +203,7 @@ def check_internet_connectivity(url='http://www.opnfv.org/'): try: urllib2.urlopen(url, timeout=5) return True - except urllib.request.URLError: + except urllib.URLError: return False -- cgit 1.2.3-korg