mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-23 20:29:06 -05:00
docs: keep the derivable count in its file alone
This commit is contained in:
1 parent
f997bdc81a
commit
ffd3a66839
1 file changed
+3
-5
@@ -4500,11 +4500,9 @@ class ToolReferenceCountsMatchTheirArtifacts(unittest.TestCase):
|
||||
stated = [int(group.replace(",", "")) for group in match.groups()]
|
||||
self.assertEqual(stated, [len(versions), listed, len(store["entries"])])
|
||||
|
||||
def test_derivable_count(self):
|
||||
derivable = json.loads((ROOT / "derivable.json").read_text(encoding="utf-8"))
|
||||
match = re.search(r"(\d+) entries on the current snapshots", self.text)
|
||||
self.assertIsNotNone(match)
|
||||
self.assertEqual(int(match.group(1)), len(derivable))
|
||||
def test_no_derivable_count(self):
|
||||
"""The count now lives in derivable.json alone, which step 1b rewrites."""
|
||||
self.assertNotRegex(self.text, r"\d+ entries on the current snapshots")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user