🪪 iOS fastlane screenshot support

This commit is contained in:
Michael Pöhn 2024-02-12 00:55:16 +01:00 committed by Hans-Christoph Steiner
parent c166a8a2b7
commit 293caf5ff9
2 changed files with 55 additions and 0 deletions

View file

@ -165,6 +165,7 @@ class UpdateTest(unittest.TestCase):
apps['eu.siacs.conversations']['Builds'] = [build_conversations]
fdroidserver.update.insert_localized_app_metadata(apps)
fdroidserver.update.ingest_screenshots_from_repo_dir(apps)
appdir = os.path.join('repo', 'info.guardianproject.urzip', 'en-US')
self.assertTrue(
@ -278,6 +279,7 @@ class UpdateTest(unittest.TestCase):
knownapks = fdroidserver.common.KnownApks()
apks, cachechanged = fdroidserver.update.process_apks({}, 'repo', knownapks, False)
fdroidserver.update.insert_localized_app_metadata(apps)
fdroidserver.update.ingest_screenshots_from_repo_dir(apps)
fdroidserver.update.apply_info_from_latest_apk(apps, apks)
app = apps['info.guardianproject.urzip']
self.assertIsNone(app.Name)