From ae333f80a682c58b06db5c1bc51bf902fd90b4a2 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Tue, 6 Oct 2026 12:27:11 +0200 Subject: [PATCH] fix: run every scraper contract class directly --- tests/test_scraper_contract.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_scraper_contract.py b/tests/test_scraper_contract.py index f28710a8..acf24280 100644 --- a/tests/test_scraper_contract.py +++ b/tests/test_scraper_contract.py @@ -229,9 +229,6 @@ class RecalboxBuildMode(unittest.TestCase): self.assertEqual(standalone, ["amiberry", "dolphin", "hatari"]) -if __name__ == "__main__": - unittest.main() - class UnreadableReleaseStopsTheScrape(unittest.TestCase): """A failed tag lookup fell back to master, or to an empty or invented @@ -301,3 +298,7 @@ class UnreadableReleaseStopsTheScrape(unittest.TestCase): RuntimeError ): Scraper()._fetch_core_metadata() + + +if __name__ == "__main__": + unittest.main()