refactor: public names for cross-module reads

This commit is contained in:
Abdessamad Derraz committed 2026-11-18 22:59:51 +01:00
1 parent f371790dc6
commit 3853ca2f1c
254 files changed
+2955 -2969

No files matched your search

+2 -2
View File
@@ -97,9 +97,9 @@ class CorrectedFilesPage(unittest.TestCase):
for platform in ("recalbox", "retropie"):
self.assertIn(f'href="api/v1/exports/{platform}.json"', self.page)
source = script_source("generate_site.py")
publish = source[source.index("def _publish_manifests("):]
publish = source[source.index("def publish_manifests("):]
publish = publish[:publish.index("\ndef ")]
self.assertIn('(_REPO_ROOT / "exports").glob("*.json")', publish)
self.assertIn('(REPO_ROOT / "exports").glob("*.json")', publish)
self.assertIn('exports = api / "exports"', publish)
def test_several_files_link_to_their_directory(self):