From 973e389759340fef29e0f90294c33f3ad9b3e7b9 Mon Sep 17 00:00:00 2001 From: stefvanhouten Date: Wed, 23 Nov 2022 09:18:12 +0100 Subject: [PATCH] Formatting --- test/test_model/test_cookie.py | 4 ++-- test/test_model/test_model_alchemy.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test_model/test_cookie.py b/test/test_model/test_cookie.py index 9a311b2..654aa4f 100644 --- a/test/test_model/test_cookie.py +++ b/test/test_model/test_cookie.py @@ -183,9 +183,9 @@ def testDeprecatedHasher(self): def testUnsupportedHash(self): """Validate that a cookie is invalidated when an unsupported hash is used.""" unsupported_cookie = "unsupported+hash+data" - self.secure_cookie.cookies['secureCookie'] = unsupported_cookie + self.secure_cookie.cookies["secureCookie"] = unsupported_cookie self.assertEqual(self.secure_cookie.rawcookie, None) if __name__ == "__main__": - unittest.main(testRunner=unittest.TextTestRunner(verbosity=2)) \ No newline at end of file + unittest.main(testRunner=unittest.TextTestRunner(verbosity=2)) diff --git a/test/test_model/test_model_alchemy.py b/test/test_model/test_model_alchemy.py index 326cc41..3d62450 100755 --- a/test/test_model/test_model_alchemy.py +++ b/test/test_model/test_model_alchemy.py @@ -89,6 +89,7 @@ def testEquality(self): self.assertNotEqual(record_one, record_three) self.assertNotEqual(record_one, record_four) + @unittest.skip("Skipping SQLALCHEMY tests") class RecordTests(unittest.TestCase): """Online tests of methods and behavior of the Record class."""