Skip to content

Commit 8f91db4

Browse files
authored
Merge pull request #2942 from daspecster/update-import-spacing-1
Update import spacing in tests.
2 parents bfc9624 + efab9c5 commit 8f91db4

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

packages/google-cloud-runtimeconfig/unit_tests/test__helpers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class Test_config_name_from_full_name(unittest.TestCase):
2020
def _call_fut(self, full_name):
2121
from google.cloud.runtimeconfig._helpers import (
2222
config_name_from_full_name)
23+
2324
return config_name_from_full_name(full_name)
2425

2526
def test_w_simple_name(self):
@@ -47,6 +48,7 @@ class Test_variable_name_from_full_name(unittest.TestCase):
4748
def _call_fut(self, full_name):
4849
from google.cloud.runtimeconfig._helpers import (
4950
variable_name_from_full_name)
51+
5052
return variable_name_from_full_name(full_name)
5153

5254
def test_w_simple_name(self):

packages/google-cloud-runtimeconfig/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.runtimeconfig.client import Client
31+
3032
return Client
3133

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

packages/google-cloud-runtimeconfig/unit_tests/test_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class TestConfig(unittest.TestCase):
2323
@staticmethod
2424
def _get_target_class():
2525
from google.cloud.runtimeconfig.config import Config
26+
2627
return Config
2728

2829
def _make_one(self, *args, **kw):
@@ -346,6 +347,7 @@ def __init__(self, *responses):
346347

347348
def api_request(self, **kw):
348349
from google.cloud.exceptions import NotFound
350+
349351
self._requested.append(kw)
350352

351353
try:

packages/google-cloud-runtimeconfig/unit_tests/test_connection.py

Lines changed: 1 addition & 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.runtimeconfig.connection import Connection
23+
2324
return Connection
2425

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

packages/google-cloud-runtimeconfig/unit_tests/test_variable.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class TestVariable(unittest.TestCase):
2525
@staticmethod
2626
def _get_target_class():
2727
from google.cloud.runtimeconfig.variable import Variable
28+
2829
return Variable
2930

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

0 commit comments

Comments
 (0)