test: Refactor util tests to use local webserver
This commit is contained in:
parent
fe80a93a03
commit
322997e229
1 changed files with 1 additions and 1 deletions
|
@ -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
|
Loading…
Reference in a new issue