Skip to content

Commit e2ce1fc

Browse files
authored
Merge pull request #2946 from daspecster/update-import-spacing-2
Update import spacing part 2.
2 parents 626d935 + f515a68 commit e2ce1fc

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

packages/google-cloud-resource-manager/unit_tests/test_client.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

@@ -27,6 +28,7 @@ class TestClient(unittest.TestCase):
2728
@staticmethod
2829
def _get_target_class():
2930
from google.cloud.resource_manager.client import Client
31+
3032
return Client
3133

3234
def _make_one(self, *args, **kw):

packages/google-cloud-resource-manager/unit_tests/test_connection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class TestConnection(unittest.TestCase):
2020
@staticmethod
2121
def _get_target_class():
2222
from google.cloud.resource_manager.connection import Connection
23+
2324
return Connection
2425

2526
def _make_one(self, *args, **kw):
@@ -37,6 +38,7 @@ def test_build_api_url_no_extra_query_params(self):
3738
def test_build_api_url_w_extra_query_params(self):
3839
from six.moves.urllib.parse import parse_qsl
3940
from six.moves.urllib.parse import urlsplit
41+
4042
conn = self._make_one()
4143
uri = conn.build_api_url('/foo', {'bar': 'baz'})
4244
scheme, netloc, path, qs, _ = urlsplit(uri)

packages/google-cloud-resource-manager/unit_tests/test_project.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class TestProject(unittest.TestCase):
2020
@staticmethod
2121
def _get_target_class():
2222
from google.cloud.resource_manager.project import Project
23+
2324
return Project
2425

2526
def _make_one(self, *args, **kw):
@@ -356,6 +357,7 @@ def __init__(self, *responses):
356357

357358
def api_request(self, **kw):
358359
from google.cloud.exceptions import NotFound
360+
359361
self._requested.append(kw)
360362

361363
try:

0 commit comments

Comments
 (0)