gitlab-ci: install biplist if available, otherwise skip test_parse_ipa

Fedora does not have a biplist package.
This commit is contained in:
Hans-Christoph Steiner 2024-01-11 15:56:42 +01:00
parent 6eee83db47
commit dc7170e709
2 changed files with 16 additions and 2 deletions

View file

@ -1935,6 +1935,12 @@ class UpdateTest(unittest.TestCase):
)
def test_parse_ipa(self):
try:
import biplist # Fedora does not have a biplist package
biplist # silence the linters
except ImportError as e:
self.skipTest(str(e))
ipa_path = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'com.fake.IpaApp_1000000000001.ipa',