fix: archivebox version was being called as root

This commit is contained in:
Cristian 2020-10-27 09:11:41 -05:00
parent a6bee5f111
commit f6ce1de882
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,6 @@ import pytest
@pytest.fixture
def process(tmp_path):
os.chdir(tmp_path)
print("should be at", tmp_path)
process = subprocess.run(['archivebox', 'init'], capture_output=True)
return process
@ -26,4 +25,4 @@ def disable_extractors_dict():
"SAVE_MEDIA": "false",
"SAVE_ARCHIVE_DOT_ORG": "false"
})
return env
return env