mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-27 03:48:52 -06:00
chore: run every batocera test class directly
unittest.main() now follows the locator tests added after it.
This commit is contained in:
1 parent
0332f6149a
commit
c63c2f369e
1 file changed
+4
-4
@@ -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()
|
||||
Reference in new issue
Block a user