Skip to content

Commit 09ae157

Browse files
committed
Removing overly broad mock.Mock() in logging.
1 parent 80ec376 commit 09ae157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)