mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 18:47:53 -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
@@ -59,9 +59,11 @@ class StandaloneDestinations(unittest.TestCase):
|
||||
if not isinstance(entry, dict):
|
||||
continue
|
||||
dest = _destination(entry)
|
||||
for folder in FRONTEND_FOLDERS:
|
||||
if dest.startswith(folder) and folder not in allowed:
|
||||
wrong.append(f"{name}: {entry.get('name')} at {dest}")
|
||||
wrong.extend(
|
||||
f"{name}: {entry.get('name')} at {dest}"
|
||||
for folder in FRONTEND_FOLDERS
|
||||
if dest.startswith(folder) and folder not in allowed
|
||||
)
|
||||
self.assertEqual(wrong, [])
|
||||
|
||||
def test_every_allowed_folder_is_read(self):
|
||||
|
||||
Reference in new issue
Block a user