skip tests that won't run on a given CPU architecture

This commit is contained in:
Hans-Christoph Steiner 2025-03-19 11:15:26 +01:00
parent 025828932d
commit 0b3fe26524
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
9 changed files with 34 additions and 0 deletions

View file

@ -3,6 +3,7 @@
import json
import os
import shutil
import sys
import tempfile
import unittest
@ -91,6 +92,7 @@ class VerifyTest(unittest.TestCase):
json.load(fp)
self.assertEqual(placeholder, verify.get_verified_json(f))
@unittest.skipIf(sys.byteorder == 'big', 'androguard is not ported to big-endian')
@patch('fdroidserver.common.sha256sum')
def test_write_json_report(self, sha256sum):
sha256sum.return_value = (