From efda0f5d6cfd5fc51881db2eda14741f620c598b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 12 Feb 2025 22:27:37 +0100 Subject: [PATCH] skip gpgsign test if gpg is not availabe on the PATH --- tests/test_integration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_integration.py b/tests/test_integration.py index 18c79b9a..195db3a3 100755 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -233,6 +233,7 @@ class IntegrationTest(unittest.TestCase): self.fdroid_cmd + ["scanner", "org.fdroid.ci.test.app", "--verbose"] ) + @unittest.skipUnless(shutil.which("gpg"), "requires command line gpg") def test_copy_repo_generate_java_gpg_keys_update_and_gpgsign(self): self.fdroid_init_with_prebuilt_keystore() shutil.copytree(FILES / "repo", "repo", dirs_exist_ok=True)