Skip to content

Commit 5a678fb

Browse files
authored
Merge pull request #3039 from daspecster/formatting-style-part-1
Spanner, BigQuery, Core, Error Reporting, Logging formatting style updates.
2 parents 8b5e705 + fe01683 commit 5a678fb

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

packages/google-cloud-error-reporting/unit_tests/test__gax.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class Test_make_report_error_api(unittest.TestCase):
2121

2222
def test_make_report_error_api(self):
2323
from google.cloud.error_reporting._gax import make_report_error_api
24+
2425
client = mock.Mock()
2526
client.project = mock.Mock()
2627
report_error_client = make_report_error_api(client)
@@ -33,6 +34,7 @@ class Test_ErrorReportingGaxApi(unittest.TestCase):
3334

3435
def _call_fut(self, gax_api, project):
3536
from google.cloud.error_reporting._gax import _ErrorReportingGaxApi
37+
3638
return _ErrorReportingGaxApi(gax_api, project)
3739

3840
def test_constructor(self):

packages/google-cloud-error-reporting/unit_tests/test__logging.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
def _make_credentials():
2121
import google.auth.credentials
22+
2223
return mock.Mock(spec=google.auth.credentials.Credentials)
2324

2425

@@ -31,6 +32,7 @@ class Test_ErrorReportingLoggingAPI(unittest.TestCase):
3132
def _call_fut(self, project, credentials):
3233
from google.cloud.error_reporting._logging import (
3334
_ErrorReportingLoggingAPI)
35+
3436
return _ErrorReportingLoggingAPI(project, credentials)
3537

3638
def test_constructor(self):

packages/google-cloud-error-reporting/unit_tests/test_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ def test_report_exception_wo_gax(self):
108108

109109
@mock.patch('google.cloud.error_reporting.client.make_report_error_api')
110110
def test_report_exception_with_service_version_in_constructor(
111-
self,
112-
make_client):
111+
self, make_client):
113112
CREDENTIALS = _make_credentials()
114113
SERVICE = "notdefault"
115114
VERSION = "notdefaultversion"

0 commit comments

Comments
 (0)