fix: Add change to calculate wget folder when there is a port present

This commit is contained in:
Cristian 2020-07-17 16:55:56 -05:00
parent 58ac44c867
commit 23e6803f02
6 changed files with 19 additions and 16 deletions

5
tests/test_extractors.py Normal file
View file

@ -0,0 +1,5 @@
from .fixtures import *
def test_wget_broken_pipe(tmp_path, process):
add_process = subprocess.run(['archivebox', 'add', 'http://127.0.0.1:8080/static/example.com.html'], capture_output=True)
assert "TypeError chmod_file(..., path: str) got unexpected NoneType argument path=None" not in add_process.stdout.decode("utf-8")