mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-09 08:06:35 +02:00
test: Refactor util tests to use local webserver
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from archivebox import util
|
||||
|
||||
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
|
Reference in New Issue
Block a user