mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 10:37:54 -06:00
chore: clear the ruff findings in tests
This commit is contained in:
1 parent
382241fb1b
commit
cc028fe7ee
49 files changed
+290
-183
No files matched your search
@@ -47,11 +47,11 @@ class FailedPlatformFailsTheRun(unittest.TestCase):
|
||||
|
||||
def test_pack_mode(self):
|
||||
with mock.patch.object(gp, "generate_pack", _boom), \
|
||||
mock.patch.object(gp, "verify_and_finalize_packs", return_value=True):
|
||||
with self.assertRaises(SystemExit) as ctx:
|
||||
gp._run_platform_packs(
|
||||
self._args(), [(["retropie"], "retropie")], {}, {}, {}, {}, {}, None
|
||||
)
|
||||
mock.patch.object(gp, "verify_and_finalize_packs", return_value=True), \
|
||||
self.assertRaises(SystemExit) as ctx:
|
||||
gp._run_platform_packs(
|
||||
self._args(), [(["retropie"], "retropie")], {}, {}, {}, {}, {}, None
|
||||
)
|
||||
self.assertEqual(ctx.exception.code, 1)
|
||||
|
||||
def test_manifest_mode(self):
|
||||
|
||||
Reference in new issue
Block a user