Skip to content

Commit

Permalink
Added tests for http error handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
chintal committed Sep 30, 2015
1 parent b1bdd2d commit 9c88591
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_utils_www.py
Expand Up @@ -93,3 +93,5 @@ def test_www_errors():
www.get_soup('http://httpstat.us/404')
with pytest.raises(URLError):
www.get_soup('httpd://httpstat.us/404')
result = www.urlopen('http://httpstat.us/500')
assert result is None

0 comments on commit 9c88591

Please sign in to comment.