summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEric Atkin <eatkin@certusllc.us>2020-06-22 12:05:44 -0600
committerEric Atkin <eatkin@certusllc.us>2020-06-22 12:05:44 -0600
commita8fe2cb53472bdbd515124a56faadea3b6a9d46a (patch)
tree96e6be2bc93f30d5a6d4000e1baf52c31e93298f /tests
parent6d4ef85b8c44459a678be268e170471ba5cb52ab (diff)
downloadpyramid-a8fe2cb53472bdbd515124a56faadea3b6a9d46a.tar.gz
pyramid-a8fe2cb53472bdbd515124a56faadea3b6a9d46a.tar.bz2
pyramid-a8fe2cb53472bdbd515124a56faadea3b6a9d46a.zip
Fix lint failures
Diffstat (limited to 'tests')
-rw-r--r--tests/test_authentication.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_authentication.py b/tests/test_authentication.py
index 9f4633360..bfb110f5e 100644
--- a/tests/test_authentication.py
+++ b/tests/test_authentication.py
@@ -1281,8 +1281,7 @@ class TestAuthTktCookieHelper(unittest.TestCase):
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):
@@ -1294,8 +1293,7 @@ class TestAuthTktCookieHelper(unittest.TestCase):
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):