def METHOD_NAME(self):
    with mock.patch("google.auth.default", autospec=True) as default:
        default.return_value = (mock.sentinel.credentials, mock.sentinel.project)
        credentials = _auth.default_credentials(quota_project_id="my-project")
        default.assert_called_once_with(scopes=None, quota_project_id="my-project")
        self.assertEqual(credentials, mock.sentinel.credentials)