From c30c381c01f9aade9f921fcfc3c3179a45d60112 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 15 Nov 2022 22:08:33 +0100 Subject: [PATCH] skip SystemWebView-repack.apk test when file is missing --- tests/common.TestCase | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/common.TestCase b/tests/common.TestCase index dcdaa20a..ea1cd6fd 100755 --- a/tests/common.TestCase +++ b/tests/common.TestCase @@ -870,6 +870,9 @@ class CommonTest(unittest.TestCase): self.assertFalse(os.path.isfile(unsigned)) self.assertTrue(fdroidserver.common.verify_apk_signature(signed)) + @unittest.skipUnless( + os.path.exists('tests/SystemWebView-repack.apk'), "file too big for sdist" + ) def test_resign_apk(self): """When using apksigner, it should resign signed APKs""" config = fdroidserver.common.read_config(fdroidserver.common.options)