Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion firebase_admin/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,9 @@ def _extract_error_message(cls, response):

return message


# Temporarily disable the lint rule. For more information see:
# https://github.com/googleapis/google-auth-library-python/pull/561
# pylint: disable=abstract-method
class _EmulatorAdminCredentials(google.auth.credentials.Credentials):
def __init__(self):
google.auth.credentials.Credentials.__init__(self)
Expand Down
3 changes: 3 additions & 0 deletions tests/testutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ def __call__(self, *args, **kwargs): # pylint: disable=arguments-differ
raise self.error


# Temporarily disable the lint rule. For more information see:
# https://github.com/googleapis/google-auth-library-python/pull/561
# pylint: disable=abstract-method
class MockGoogleCredential(credentials.Credentials):
"""A mock Google authentication credential."""
def refresh(self, request):
Expand Down