Skip to content

Commit

Permalink
test: install pyopenssl for mtls testing (#235)
Browse files Browse the repository at this point in the history
* changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* test: install pyopenssl for mtls testing

Source-Author: arithmetic1728 <58957152+arithmetic1728@users.noreply.github.com>
Source-Date: Tue Mar 2 12:27:56 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 0780323da96d5a53925fe0547757181fe76e8f1e
Source-Link: googleapis/synthtool@0780323
  • Loading branch information
yoshi-automation committed Mar 3, 2021
1 parent 75f9df6 commit ea7fef6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions google/cloud/bigtable_admin_v2/__init__.py
Expand Up @@ -88,7 +88,7 @@
"AppProfile",
"Backup",
"BackupInfo",
"BigtableTableAdminClient",
"BigtableInstanceAdminClient",
"CheckConsistencyRequest",
"CheckConsistencyResponse",
"Cluster",
Expand Down Expand Up @@ -151,5 +151,5 @@
"UpdateBackupRequest",
"UpdateClusterMetadata",
"UpdateInstanceMetadata",
"BigtableInstanceAdminClient",
"BigtableTableAdminClient",
)
3 changes: 3 additions & 0 deletions noxfile.py
Expand Up @@ -123,6 +123,9 @@ def system(session):
# Sanity check: Only run tests if the environment variable is set.
if not os.environ.get("GOOGLE_APPLICATION_CREDENTIALS", ""):
session.skip("Credentials must be set via environment variable")
# Install pyopenssl for mTLS testing.
if os.environ.get("GOOGLE_API_USE_CLIENT_CERTIFICATE", "false") == "true":
session.install("pyopenssl")

system_test_exists = os.path.exists(system_test_path)
system_test_folder_exists = os.path.exists(system_test_folder_path)
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-bigtable.git",
"sha": "f0a2bc8ab62bf946c62ce9baffbd332ac5126b27"
"sha": "75f9df66d6037dbfa3a34722fed5fe362be5459f"
}
},
{
Expand All @@ -19,14 +19,14 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "d17674372e27fb8f23013935e794aa37502071aa"
"sha": "0780323da96d5a53925fe0547757181fe76e8f1e"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "d17674372e27fb8f23013935e794aa37502071aa"
"sha": "0780323da96d5a53925fe0547757181fe76e8f1e"
}
}
],
Expand Down

0 comments on commit ea7fef6

Please sign in to comment.