from archivebox import util

def test_download_url_downloads_content():
    text = util.download_url("https://example.com")
    assert "Example Domain" in text
from archivebox import util

def test_download_url_downloads_content():
    text = util.download_url("http://localhost:8080/static/example.com.html")
    assert "Example Domain" in text
Refactor util tests to use local webserver
test: Refactor util tests to use local webserver
