Skip to content

Commit

Permalink
Fix lint failures
Browse files Browse the repository at this point in the history
  • Loading branch information
ericatkin committed Jun 22, 2020
1 parent 6d4ef85 commit a8fe2cb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -1281,8 +1281,7 @@ def test_remember_samesite_nondefault(self):
name, value = result[0]
self.assertEqual(name, 'Set-Cookie')
self.assertTrue(
'SameSite=Strict' in [x.strip() for x in value.split(';')],
value,
'SameSite=Strict' in [x.strip() for x in value.split(';')], value,
)

def test_remember_samesite_default(self):
Expand All @@ -1294,8 +1293,7 @@ def test_remember_samesite_default(self):
name, value = result[0]
self.assertEqual(name, 'Set-Cookie')
self.assertTrue(
'SameSite=Lax' in [x.strip() for x in value.split(';')],
value,
'SameSite=Lax' in [x.strip() for x in value.split(';')], value,
)

def test_remember_unicode_but_ascii_token(self):
Expand Down

0 comments on commit a8fe2cb

Please sign in to comment.