1
0
Fork 0
mirror of synced 2024-09-29 08:41:15 +13:00
ArchiveBox/tests/fixtures.py

10 lines
No EOL
198 B
Python

import os
import subprocess
import pytest
@pytest.fixture
def process(tmp_path):
os.chdir(tmp_path)
process = subprocess.run(['archivebox', 'init'], capture_output=True)
return process