chore: run the catalog row test from its file

The class sat after unittest.main(), so running test_doc_pages.py on its
own skipped it.
This commit is contained in:
Abdessamad Derraz committed 2026-11-06 08:37:16 +01:00
1 parent f255efca0f
commit 328bfbe53b
1 file changed
+5 -3
+5 -3
View File
@@ -1984,9 +1984,6 @@ class ArchivedIsWhatTheToolsDo(unittest.TestCase):
self.assertNotIn("list_platforms", workflow.read_text(encoding="utf-8"))
if __name__ == "__main__":
unittest.main()
class TheCatalogRowsStateFacts(unittest.TestCase):
"""tools.md said "redump.org serves stale DATs" and "Dat-o-Matic blocks
@@ -2003,3 +2000,8 @@ class TheCatalogRowsStateFacts(unittest.TestCase):
scraper = (ROOT / "scripts" / "scraper" / "redump_dat_scraper.py").read_text(encoding="utf-8")
self.assertIn("/bios/<CODE>", scraper)
self.assertIn("`/bios/<CODE>`", rows[0])
if __name__ == "__main__":
unittest.main()