mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-27 11:58: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
@@ -571,11 +571,11 @@ class TestProfileConformance(unittest.TestCase):
|
||||
f"{os.path.basename(path)}: {f.get('name')} not a list"
|
||||
)
|
||||
continue
|
||||
for value in raw:
|
||||
if value not in region.REGIONS:
|
||||
offenders.append(
|
||||
f"{os.path.basename(path)}: {f.get('name')} -> {value!r}"
|
||||
)
|
||||
offenders.extend(
|
||||
f"{os.path.basename(path)}: {f.get('name')} -> {value!r}"
|
||||
for value in raw
|
||||
if value not in region.REGIONS
|
||||
)
|
||||
self.assertEqual(offenders, [], "\n".join(offenders))
|
||||
|
||||
def test_index_builds_over_every_repo_profile(self):
|
||||
|
||||
Reference in new issue
Block a user