Skip to content

Commit

Permalink
tests: fix unit test broken by google-cloud-core release (#54)
Browse files Browse the repository at this point in the history
Closes #53
  • Loading branch information
tseaver committed Aug 5, 2020
1 parent 677bb7b commit 79311a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/test_client.py
Expand Up @@ -155,6 +155,7 @@ def test_constructor_w_implicit_inputs(self):
from google.cloud.datastore.client import _CLIENT_INFO
from google.cloud.datastore.client import _DATASTORE_BASE_URL

klass = self._get_target_class()
other = "other"
creds = _make_credentials()

Expand All @@ -180,7 +181,7 @@ def test_constructor_w_implicit_inputs(self):
self.assertIsNone(client.current_batch)
self.assertIsNone(client.current_transaction)

default.assert_called_once_with()
default.assert_called_once_with(scopes=klass.SCOPE,)
_determine_default_project.assert_called_once_with(None)

def test_constructor_w_explicit_inputs(self):
Expand Down

0 comments on commit 79311a1

Please sign in to comment.