chore: clear the ruff findings in tests

This commit is contained in:
Abdessamad Derraz committed 2026-11-17 07:21:28 +01:00
1 parent 382241fb1b
commit cc028fe7ee
49 files changed
+290 -183

No files matched your search

+5 -3
View File
@@ -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):