♻️ refactor(test): consolidate repository checks

This commit is contained in:
csh
2026-07-20 09:08:36 +08:00
parent 10ce779b1b
commit ff07c79818
24 changed files with 426 additions and 4596 deletions
-3
View File
@@ -6,9 +6,6 @@ ROOT = Path(__file__).resolve().parents[1]
class TemplateContractsTests(unittest.TestCase):
def test_project_templates_drop_legacy_language_placeholders(self):
example_text = (ROOT / "playbook.toml.example").read_text(encoding="utf-8")
self.assertNotIn("main_language", example_text)
templates_readme = (ROOT / "templates" / "README.md").read_text(
encoding="utf-8"
)