From 2122dbbcc78180246f7ea70f05bc7ef7af6149df Mon Sep 17 00:00:00 2001 From: arithmetic1728 <58957152+arithmetic1728@users.noreply.github.com> Date: Fri, 12 Feb 2021 11:10:05 -0800 Subject: [PATCH] test: need pyopenssl for mtls system test (#19) --- noxfile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/noxfile.py b/noxfile.py index 6fd80b539..e23015f2c 100644 --- a/noxfile.py +++ b/noxfile.py @@ -139,6 +139,10 @@ def system(session): ) session.install("-e", ".") + # mTLS test needs pyopenssl + if os.environ.get("GOOGLE_API_USE_CLIENT_CERTIFICATE", "") == "true": + session.install("pyopenssl") + # Run py.test against the system tests. if system_test_exists: session.run("py.test", "--quiet", system_test_path, *session.posargs)