Skip to content

Commit 5b2929b

Browse files
committed
Corrected to project's PEP8 requirements.
1 parent a290433 commit 5b2929b

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

SoftLayer/API.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929

3030

3131
class Client(object):
32-
3332
""" A SoftLayer API client.
3433
3534
:param username: an optional API username if you wish to bypass the
@@ -270,7 +269,6 @@ def __len__(self):
270269

271270

272271
class TimedClient(Client):
273-
274272
""" Subclass of Client()
275273
276274
Using this class will time every call to the API and store it in an
@@ -304,7 +302,6 @@ def get_last_calls(self):
304302

305303

306304
class Service(object):
307-
308305
def __init__(self, client, name):
309306
self.client = client
310307
self.name = name

SoftLayer/tests/api_tests.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414

1515
class Inititialization(unittest.TestCase):
16-
1716
def test_init(self):
1817
client = SoftLayer.Client(username='doesnotexist',
1918
api_key='issurelywrong', timeout=10)
@@ -40,7 +39,6 @@ def test_env(self, get_client_settings):
4039

4140

4241
class ClientMethods(unittest.TestCase):
43-
4442
def test_help(self):
4543
help(SoftLayer)
4644
help(SoftLayer.Client)
@@ -74,7 +72,6 @@ def test_len(self):
7472

7573

7674
class APIClient(unittest.TestCase):
77-
7875
def setUp(self):
7976
self.client = SoftLayer.Client(
8077
username='doesnotexist', api_key='issurelywrong',
@@ -308,7 +305,6 @@ def test_call_compression_override(self, make_xml_rpc_api_call):
308305

309306

310307
class APITimedClient(unittest.TestCase):
311-
312308
def setUp(self):
313309
self.client = SoftLayer.TimedClient(
314310
username='doesnotexist', api_key='issurelywrong',
@@ -329,7 +325,6 @@ def test_overriden_call_times_methods(self, _call, _time):
329325

330326

331327
class UnauthenticatedAPIClient(unittest.TestCase):
332-
333328
def setUp(self):
334329
self.client = SoftLayer.Client(endpoint_url="ENDPOINT")
335330

0 commit comments

Comments
 (0)