diff --git a/.gitignore b/.gitignore index 0a78c3d58..87c7b3120 100644 --- a/.gitignore +++ b/.gitignore @@ -177,13 +177,3 @@ htmlcov.* *.pkl *-structure.csv *-structure.json - -/Titanic/2023_12_07_11_44_319a116fff/LLM_inout_pair/*.json -/ICR/2023_12_06_14_14_26e593d09f/LLM_inout_pair/*.json -/ICR/5cd9acb669c443fabe763e8f1ade5e86/workspace/*.txt -/ICR/5cd9acb669c443fabe763e8f1ade5e86/workspace/*.csv -/Titanic/9530b3c5550a4366ae92e5af6a74e6c3/workspace/*.csv -/Titanic/9530b3c5550a4366ae92e5af6a74e6c3/workspace/*.txt -/metagpt/roles/catboost_info/*.tsv -/metagpt/roles/catboost_info/*.json -/Titanic/9530b3c5550a4366ae92e5af6a74e6c3/workspace/*.md diff --git a/tests/conftest.py b/tests/conftest.py index f551c9205..7dec506bb 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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