aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/functest_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/functest_utils.py')
-rw-r--r--testcases/functest_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/functest_utils.py b/testcases/functest_utils.py
index 838b09c4b..e146db1cd 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