Skip to content

Commit 24b4789

Browse files
test: install pyopenssl for mtls testing (#206)
1 parent 867362e commit 24b4789

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

noxfile.py

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

125128
system_test_exists = os.path.exists(system_test_path)
126129
system_test_folder_exists = os.path.exists(system_test_folder_path)

synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/python-logging.git",
7-
"sha": "de9c4c8bca265f6ecf98ecb9aa145891586232c8"
7+
"sha": "867362e803e7c11677df39f600d69d9506b3f0f8"
88
}
99
},
1010
{
@@ -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)