1
0
Fork 0

test: Refactor util tests to use local webserver

This commit is contained in:
Cristian 2020-07-13 09:44:50 -05:00
parent fe80a93a03
commit 322997e229

View file

@ -1,5 +1,5 @@
from archivebox import util from archivebox import util
def test_download_url_downloads_content(): def test_download_url_downloads_content():
text = util.download_url("https://example.com") text = util.download_url("http://localhost:8080/static/example.com.html")
assert "Example Domain" in text assert "Example Domain" in text