Skip to contentSkip to conversation

python3-google-auth: Disable TestDecryptPrivateKey ptest

PATCH New Khem Raj 1 participant 1 message Feb 11, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 python3-google-auth: Disable TestDecryptPrivateKey ptest

We have upgraded py3-openssl module to 24.3.0 in core, which means this test now fails as py3-openssl has removed the APIs it uses [1] disable until it is fixed in google-auth module

Fixes
ERROR: 'OpenSSL.crypto' has no attribute 'sign'

[1] https://github.com/googleapis/google-api-python-client/issues/2554

---
 .../recipes-devtools/python/python3-google-auth/run-ptest     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-google-auth/run-ptest +2 -2
index f1c8729f0e..e2f6d49fd0 100644
@@ -1,4 +1,4 @@
 #!/bin/sh
 
-pytest --automake
-
+# Ignore mtls test until https://github.com/googleapis/google-api-python-client/issues/2554 is fixed
+pytest --automake --deselect tests/transport/test__mtls_helper.py::TestDecryptPrivateKey