test_util.py 173 B

12345
  1. from archivebox.misc.util import download_url
  2. def test_download_url_downloads_content():
  3. text = download_url("https://example.com")
  4. assert "Example Domain" in text