test: remove obsolete nonexistence checks

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-05 23:58:38 +08:00
1 parent c08172a641
commit 3495281282
24 files changed
+8 -407

No files matched your search

-3
View File
@@ -218,17 +218,14 @@ class TestBundledToolContract:
assert "Do not use `exec` as a universal workaround" in content
assert "## File and Coding Workflows" in content
assert "`grep` returns matches with five context lines by default" in content
assert 'defaults to `output_mode="files_with_matches"`' not in content
assert "apply_patch" in content
assert "acceptance criteria into concrete checks" in content
assert "visual evidence reaches the model" in content
assert "clear user request as authorization" in content
assert "Never invent missing records or measurements" in content
assert "scientific fitting" not in content
assert "## Web and External Information" in content
assert "## Messaging and Media" in content
assert "## Scheduling and Background Work" in content
assert "pure coding" not in content.lower()
def test_tool_contract_is_injected_without_workspace_file(self, tmp_path):
builder = _builder(tmp_path)