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

Commit 465c483

Browse files
test: install pyopenssl for mtls testing (#110)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/f169e545-1f46-4498-92b8-ef79af1ecedc/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@0780323
1 parent 3c0cb6c commit 465c483

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
@@ -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: 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-bigquery-datatransfer.git",
7-
"sha": "794df75c6f92a84e518375ef994e056dae1d9dd9"
7+
"sha": "3c0cb6c1cb602c325d8d0befdb739c16a9bf23e0"
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)