Skip to content

Commit a68f94e

Browse files
committed
fix test bugs
1 parent 88cdc03 commit a68f94e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

commit0/harness/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Files(TypedDict):
2323
BASE_IMAGE_BUILD_DIR = Path("logs/build_images/base")
2424
REPO_IMAGE_BUILD_DIR = Path("logs/build_images/repo")
2525
RUN_PYTEST_LOG_DIR = Path("logs/pytest")
26-
RUN_AIDER_LOG_DIR = Path("logs/aider")
26+
RUN_AGENT_LOG_DIR = Path("logs/agent")
2727

2828
# Constants - Test Types, Statuses, Commands
2929
FAIL_TO_PASS = "FAIL_TO_PASS"

commit0/harness/run_pytest_ids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def main(
7171
try:
7272
local_repo = git.Repo(repo_or_repo_dir)
7373
logger.info(f"Loaded a git repo from {repo_or_repo_dir}")
74-
except git.exc.NoSuchPathError: # type: ignore
74+
except (git.exc.NoSuchPathError, git.exc.InvalidGitRepositoryError): # type: ignore
7575
repo_dir = os.path.join(base_dir, repo_name)
7676
logger.error(f"{repo_or_repo_dir} is not a git dir, trying {repo_dir} again")
7777
try:

0 commit comments

Comments
 (0)