Added some test cases

This commit is contained in:
mannaandpoem 2024-01-03 14:19:14 +08:00
parent a1e75d1173
commit b19995f083
10 changed files with 757 additions and 49 deletions

View file

@ -86,7 +86,8 @@ def loguru_caplog(caplog):
# init & dispose git repo
@pytest.fixture(scope="session", autouse=True)
# @pytest.fixture(scope="session", autouse=True)
@pytest.fixture(scope="session")
def setup_and_teardown_git_repo(request):
CONFIG.git_repo = GitRepository(local_path=DEFAULT_WORKSPACE_ROOT / "unittest")