Retire note, propose, audit, dev mode, build-canon, canon cost and migrate commands
This commit is contained in:
1 parent
9fcd617391
commit
9b69d41950
16 files changed
+126
-343
No files matched your search
@@ -125,7 +125,7 @@ class ReadmeIsHonest(SisiCase):
|
||||
def test_readme_sub_subcommands_are_in_help(self):
|
||||
text = open(os.path.join(REPO, "README.md"), encoding="utf-8").read()
|
||||
help_text = self.sisi("help").stdout
|
||||
for m in set(re.findall(r"`sisi (contract|verifiers|canon|overlay|dev) ([a-z-]+)", text)):
|
||||
for m in set(re.findall(r"`sisi (contract|verifiers|overlay) ([a-z-]+)", text)):
|
||||
self.assertIn(m[1], help_text, " ".join(m))
|
||||
|
||||
def test_python_version_claim_matches_ci_and_code(self):
|
||||
@@ -152,8 +152,10 @@ class NoStaleValues(unittest.TestCase):
|
||||
|
||||
def test_docs_have_no_stale_values(self):
|
||||
rels = ["CONTRIBUTING.md", "SECURITY.md"]
|
||||
# docs/target.md is the reconciliation build reference: its start date and "as today"
|
||||
# describe that project, not the product, so they do not go stale with the product.
|
||||
rels += [os.path.join("docs", n) for n in sorted(os.listdir(os.path.join(REPO, "docs")))
|
||||
if n.endswith(".md")]
|
||||
if n.endswith(".md") and n != "target.md"]
|
||||
findings = []
|
||||
for rel in rels:
|
||||
findings += _stale_value_findings(_text(rel), rel, allow_version_evidence=True)
|
||||
|
||||
Reference in new issue
Block a user