conftest.py 153 B

123456789
  1. import os
  2. import pathlib
  3. import pytest
  4. @pytest.fixture(autouse=True)
  5. def working_dir():
  6. os.chdir(pathlib.Path(__file__).parent.joinpath("tests"))