Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit e6aa96e

Browse files
test: install pyopenssl for mtls testing
Source-Author: arithmetic1728 <[email protected]> Source-Date: Tue Mar 2 12:27:56 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 0780323da96d5a53925fe0547757181fe76e8f1e Source-Link: googleapis/synthtool@0780323
1 parent 74d8354 commit e6aa96e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

noxfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ def system(session):
123123
# Sanity check: Only run tests if the environment variable is set.
124124
if not os.environ.get("GOOGLE_APPLICATION_CREDENTIALS", ""):
125125
session.skip("Credentials must be set via environment variable")
126+
# Install pyopenssl for mTLS testing.
127+
if os.environ.get("GOOGLE_API_USE_CLIENT_CERTIFICATE", "false") == "true":
128+
session.install("pyopenssl")
126129

127130
system_test_exists = os.path.exists(system_test_path)
128131
system_test_folder_exists = os.path.exists(system_test_folder_path)

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "d17674372e27fb8f23013935e794aa37502071aa"
22+
"sha": "0780323da96d5a53925fe0547757181fe76e8f1e"
2323
}
2424
},
2525
{
2626
"git": {
2727
"name": "synthtool",
2828
"remote": "https://github.com/googleapis/synthtool.git",
29-
"sha": "d17674372e27fb8f23013935e794aa37502071aa"
29+
"sha": "0780323da96d5a53925fe0547757181fe76e8f1e"
3030
}
3131
}
3232
],

0 commit comments

Comments
 (0)