We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbfa6a5 commit ad8590aCopy full SHA for ad8590a
2 files changed
spanner/unit_tests/test_client.py
@@ -111,7 +111,6 @@ def test_admin_api_lib_name(self):
111
the database and instance API objects in the GAPIC.
112
"""
113
from google.cloud.spanner import __version__
114
- from google.cloud.spanner import client as MUT
115
from google.cloud.gapic.spanner_admin_database import v1 as db
116
from google.cloud.gapic.spanner_admin_instance import v1 as inst
117
spanner/unit_tests/test_database.py
@@ -191,6 +191,7 @@ def test_spanner_api_property(self):
191
_clients = [_client]
192
193
def _mock_spanner_client(*args, **kwargs):
194
+ self.assertIsInstance(args, list)
195
self.assertEqual(kwargs['lib_name'], 'gccl')
196
self.assertEqual(kwargs['lib_version'], __version__)
197
return _clients.pop(0)
0 commit comments