Fix PEP8 error
Change-Id: Ib8f4027af6f0583c60ca937328cc84a34909b4a4 Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
This commit is contained in:
parent
f737a8c3bb
commit
b45ea3ac45
@ -36,13 +36,13 @@ class LimitsTest(utils.TestCase):
|
||||
|
||||
expected = (
|
||||
limits.RateLimit('POST', '*', '.*', 10, 2, 'MINUTE',
|
||||
'2011-12-15T22:42:45Z' ),
|
||||
'2011-12-15T22:42:45Z'),
|
||||
limits.RateLimit('PUT', '*', '.*', 10, 2, 'MINUTE',
|
||||
'2011-12-15T22:42:45Z' ),
|
||||
'2011-12-15T22:42:45Z'),
|
||||
limits.RateLimit('DELETE', '*', '.*', 100, 100, 'MINUTE',
|
||||
'2011-12-15T22:42:45Z' ),
|
||||
'2011-12-15T22:42:45Z'),
|
||||
limits.RateLimit('POST', '*/servers', '^/servers', 25, 24, 'DAY',
|
||||
'2011-12-15T22:42:45Z' ),
|
||||
'2011-12-15T22:42:45Z'),
|
||||
)
|
||||
|
||||
rate_limits = list(obj.rate)
|
||||
|
Loading…
Reference in New Issue
Block a user