Explorar el Código

test: Refactor util tests to use local webserver

Cristian hace 5 años
padre
commit
322997e229
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tests/test_util.py

+ 1 - 1
tests/test_util.py

@@ -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