Skip to content

Commit 17a251d

Browse files
committed
placate flake8
1 parent dc39660 commit 17a251d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/base.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
except ImportError:
2121
raise RuntimeError('unittest2 is required to run the rauth test suite')
2222

23-
from inspect import stack, isfunction
23+
from inspect import stack, isfunction # NOQA
2424

25-
from mock import Mock
26-
from nose.tools import nottest
25+
from mock import Mock # NOQA
26+
from nose.tools import nottest # NOQA
2727

2828

2929
class RauthTestCase(unittest.TestCase):

tests/test_service_ofly.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ def fake_request(self,
120120

121121
signature_base_string += self.fake_get_sorted_params(ofly_params)
122122

123-
all_params = dict(tuple(ofly_params.items())
124-
+ tuple(kwargs['params'].items()))
123+
all_params = dict(tuple(ofly_params.items()) +
124+
tuple(kwargs['params'].items()))
125125

126126
kwargs['params'] = self.fake_get_sorted_params(all_params)
127127
if not isinstance(kwargs['params'], bytes):

0 commit comments

Comments
 (0)