Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .kokoro/presubmit/presubmit.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Only run a subset of all nox sessions
# Disable system tests.
env_vars: {
key: "NOX_SESSION"
value: "unit-3.8 unit-3.12 cover docs docfx"
key: "RUN_SYSTEM_TESTS"
value: "false"
}
9 changes: 8 additions & 1 deletion tests/unit/spanner_dbapi/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,14 @@ def test_custom_database_role(self):
from google.cloud.spanner_dbapi import connect

role = "some_role"
connection = connect("test-instance", "test-database", database_role=role)
connection = connect(
"test-instance",
"test-database",
project="test-project",
database_role=role,
credentials=AnonymousCredentials(),
client_options={"api_endpoint": "none"},
)
self.assertEqual(connection.database.database_role, role)

def test_invalid_custom_client_connection(self):
Expand Down
Loading