Skip to content

Commit 8104df3

Browse files
committed
테스트 정리
1 parent 263425b commit 8104df3

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎tests/test_http.py‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@
66

77
from bigpython.webscrap import http
88

9-
def test_http_download():
10-
res = http.download('http://google.com')
11-
assert res.status_code == 200
12-
13-
with pytest.raises(requests.ConnectionError):
14-
http.download('http://no-such-domain.com')
15-
16-
with pytest.raises(requests.HTTPError):
17-
http.download('http://google.com/nosuchpath')
18-
199
def test_unquote_url():
2010
url = 'https://ko.wikipedia.org/wiki/%EC%95%A8%EB%9F%B0_%ED%8A%9C%EB%A7%81'
2111
url_unquoted = http.unquote_url(url)

0 commit comments

Comments
 (0)