diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2015-06-18 11:39:22 +0200 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2015-06-18 11:39:22 +0200 |
commit | 6ac81f3020349108064ac040a00a2b3a5034988e (patch) | |
tree | c1438073302b07416c82c52e4283d5a867900493 /testcases/functest_utils.py | |
parent | 96c4025e33865d3aeef0f5c40f480c835dd1df04 (diff) |
functet_utils: bugfix check_internet_connectivity except
JIRA: FUNCTEST-17
Change-Id: I28cdd11b1004507ae7b455f19a2555a17eae85c7
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'testcases/functest_utils.py')
-rw-r--r-- | testcases/functest_utils.py | 2 |
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 |