We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21da7d9 commit 0780323Copy full SHA for 0780323
synthtool/gcp/templates/python_library/noxfile.py.j2
@@ -137,6 +137,9 @@ def system(session):
137
# Sanity check: Only run tests if the environment variable is set.
138
if not os.environ.get("GOOGLE_APPLICATION_CREDENTIALS", ""):
139
session.skip("Credentials must be set via environment variable")
140
+ # Install pyopenssl for mTLS testing.
141
+ if os.environ.get("GOOGLE_API_USE_CLIENT_CERTIFICATE", "false") == "true":
142
+ session.install("pyopenssl")
143
144
system_test_exists = os.path.exists(system_test_path)
145
system_test_folder_exists = os.path.exists(system_test_folder_path)
0 commit comments