Skip to content

Commit e5ec020

Browse files
authored
Merge pull request #3063 from dhermes/make-mocks-less-broad
Drop usage of overly broad mock.Mock() in tests.
2 parents 7b420da + 3b51176 commit e5ec020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/google-cloud-logging/unit_tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ def test_setup_logging(self):
617617

618618
http_mock = mock.Mock(spec=httplib2.Http)
619619
deepcopy = mock.Mock(return_value=http_mock)
620-
setup_logging = mock.Mock()
620+
setup_logging = mock.Mock(spec=[])
621621

622622
credentials = _make_credentials()
623623

0 commit comments

Comments
 (0)