This commit is contained in:
stellahsr 2024-01-12 17:30:22 +08:00
parent 13010f6c90
commit d9ad3a6195
2 changed files with 1 additions and 11 deletions

View file

@ -140,7 +140,7 @@ def loguru_caplog(caplog):
# init & dispose git repo
@pytest.fixture(scope="function", autouse=False)
@pytest.fixture(scope="function", autouse=True)
def setup_and_teardown_git_repo(request):
CONFIG.git_repo = GitRepository(local_path=DEFAULT_WORKSPACE_ROOT / f"unittest/{uuid.uuid4().hex}")
CONFIG.git_reinit = True