1
0
Fork 0
mirror of synced 2024-06-03 02:54:32 +12:00
ArchiveBox/tests/fixtures.py

10 lines
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