chore: run every batocera test class directly

unittest.main() now follows the locator tests added after it.
This commit is contained in:
Abdessamad Derraz committed 2026-11-20 20:03:09 +01:00
1 parent 0332f6149a
commit c63c2f369e
1 file changed
+4 -4
+4 -4
View File
@@ -241,10 +241,6 @@ class APatchedLibretroBuildTakesItsNameOnly(unittest.TestCase):
self.assertEqual(profiles[name]["files"][0]["path"], "ps2/<bios>.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()