Code Review
/
functest-xtesting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
96c4025
)
functet_utils: bugfix check_internet_connectivity except
author
jose.lausuch
<jose.lausuch@ericsson.com>
Thu, 18 Jun 2015 09:39:22 +0000
(11:39 +0200)
committer
jose.lausuch
<jose.lausuch@ericsson.com>
Thu, 18 Jun 2015 09:39:22 +0000
(11:39 +0200)
JIRA: FUNCTEST-17
Change-Id: I28cdd11b1004507ae7b455f19a2555a17eae85c7
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
testcases/functest_utils.py
patch
|
blob
|
history
diff --git
a/testcases/functest_utils.py
b/testcases/functest_utils.py
index
838b09c
..
e146db1
100644
(file)
--- 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