Test that task-bench record-figures says why where no config names the checkout
CI / tests (pull_request) Successful in 5m4s
CI / tests (pull_request) Successful in 5m4s
This commit is contained in:
@@ -96,6 +96,11 @@ class RecordFiguresTest(unittest.TestCase):
|
||||
(self.bench / "digest.md").mkdir()
|
||||
self.assertTrue(self.recorded().startswith(f"could not read {self.bench / 'digest.md'}: [Errno "), self.recorded())
|
||||
|
||||
def test_says_why_where_no_config_names_the_checkout(self):
|
||||
(self.bench / "digest.md").write_text(DIGEST)
|
||||
(self.home / ".claude-projects/calc/config.toml").unlink()
|
||||
self.assertTrue(self.recorded().startswith(f"no config names the checkout {self.repo}"), self.recorded())
|
||||
|
||||
def test_git_runs_in_the_environment_given(self):
|
||||
(self.bench / "digest.md").write_text(DIGEST)
|
||||
other = self.home / "code/other"
|
||||
|
||||
Reference in New Issue
Block a user