FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: update system test for mtls (#518) · googleapis/google-cloud-python@bcdc44a · GitHub

Commit bcdc44a

Browse files
test: update system test for mtls (#518)
1 parent b8cb851 commit bcdc44a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎packages/google-cloud-bigquery/noxfile.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,11 @@ def system(session):
113113
session.install(
114114
"mock", "pytest", "psutil", "google-cloud-testutils", "-c", constraints_path
115115
)
116-
session.install("google-cloud-storage", "-c", constraints_path)
116+
if os.environ.get("GOOGLE_API_USE_CLIENT_CERTIFICATE", "") == "true":
117+
# mTLS test requires pyopenssl and latest google-cloud-storage
118+
session.install("google-cloud-storage", "pyopenssl")
119+
else:
120+
session.install("google-cloud-storage", "-c", constraints_path)
117121

118122
session.install("-e", ".[all]", "-c", constraints_path)
119123
session.install("ipython", "-c", constraints_path)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL