Skip to content

Commit 239452a

Browse files
author
Fernando
committed
Fix tox analysis.
1 parent 68f2a99 commit 239452a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

SoftLayer/managers/hardware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ def authorize_storage(self, hardware_id, username_storage):
797797
_filter = {"networkStorage": {"username": {"operation": username_storage}}}
798798

799799
storage_result = self.client.call('Account', 'getNetworkStorage', filter=_filter)
800-
800+
801801
if len(storage_result) == 0:
802802
raise SoftLayerError("The Storage with username: %s was not found, please"
803803
" enter a valid storage username" % username_storage)

tests/CLI/modules/server_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ def test_authorize_hw_no_confirm(self, confirm_mock):
910910
result = self.run_command(['hw', 'authorize-storage', '-u', '1234'])
911911

912912
self.assertEqual(result.exit_code, 2)
913-
913+
914914
@mock.patch('SoftLayer.CLI.formatting.confirm')
915915
def test_authorize_hw_empty(self, confirm_mock):
916916
confirm_mock.return_value = True

tests/managers/hardware_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ def test_authorize_storage(self):
845845
options = self.hardware.authorize_storage(1234, "SL01SEL301234-11")
846846

847847
self.assertEqual(True, options)
848-
848+
849849
def test_authorize_storage_empty(self):
850850
mock = self.set_mock('SoftLayer_Account', 'getNetworkStorage')
851851
mock.return_value = []

0 commit comments

Comments
 (0)