From 328bfbe53b505a5227a71afc574805f6e629b09d Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Fri, 6 Nov 2026 08:37:16 +0100 Subject: [PATCH] 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. --- tests/test_doc_pages.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/test_doc_pages.py b/tests/test_doc_pages.py index bb0d0d3eb..5e6eb2c96 100644 --- a/tests/test_doc_pages.py +++ b/tests/test_doc_pages.py @@ -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/", scraper) self.assertIn("`/bios/`", rows[0]) + + +if __name__ == "__main__": + unittest.main() +