From c63c2f369eb14802c9da9755e5d6843ce814f2c4 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Fri, 20 Nov 2026 19:16:40 +0100 Subject: [PATCH] chore: run every batocera test class directly unittest.main() now follows the locator tests added after it. --- tests/test_batocera_cores.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_batocera_cores.py b/tests/test_batocera_cores.py index 662818789..c68ad7124 100644 --- a/tests/test_batocera_cores.py +++ b/tests/test_batocera_cores.py @@ -241,10 +241,6 @@ class APatchedLibretroBuildTakesItsNameOnly(unittest.TestCase): self.assertEqual(profiles[name]["files"][0]["path"], "ps2/.bin") -if __name__ == "__main__": - unittest.main() - - class OneLocatorFindsTheSystemsDict(unittest.TestCase): """The scraper and the exporter cut batocera-systems at the same braces.""" @@ -286,3 +282,7 @@ class OneLocatorFindsTheSystemsDict(unittest.TestCase): systems_span("systems = {\n 'a': {}\n") with self.assertRaisesRegex(ValueError, "no 'systems = {'"): systems_span("other = {}\n") + + +if __name__ == "__main__": + unittest.main()