Skip to content

Commit 1545608

Browse files
fixed tox issues
1 parent 52ee904 commit 1545608

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

SoftLayer/managers/storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(self, client):
2525
self.client = client
2626
self.resolvers = [self._get_ids_from_username]
2727

28-
def _get_ids_from_username(self, username):
28+
def _get_ids_from_username(self, username): # pylint: disable=unused-argument,no-self-use
2929
"""Should only be actually called from the block/file manager"""
3030
return []
3131

tests/managers/storage_generic_tests.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
:license: MIT, see LICENSE for more details.
66
"""
77

8-
import copy
98
import SoftLayer
10-
from SoftLayer import exceptions
119
from SoftLayer import testing
1210

1311

@@ -33,3 +31,4 @@ def test_set_volume_snapshot_notification(self):
3331
result = self.storage.set_volume_snapshot_notification(12345, False)
3432
self.assert_called_with('SoftLayer_Network_Storage', 'setSnapshotNotification',
3533
identifier=12345, args=(False,))
34+
self.assertEqual(None, result)

0 commit comments

Comments
 (0)