diff --git a/kfet/auth/tests.py b/kfet/auth/tests.py index 5e284648..71fe945b 100644 --- a/kfet/auth/tests.py +++ b/kfet/auth/tests.py @@ -202,7 +202,7 @@ class GenericLoginViewTests(TestCase): cookie = client.cookies[key] # It also can be emptied. self.assertEqual(cookie.value, "") - self.assertEqual(cookie["expires"], "Thu, 01-Jan-1970 00:00:00 GMT") + self.assertEqual(cookie["expires"], "Thu, 01 Jan 1970 00:00:00 GMT") self.assertEqual(cookie["max-age"], 0) except AssertionError: raise AssertionError("The cookie '%s' still exists." % key) diff --git a/kfet/tests/test_tests_utils.py b/kfet/tests/test_tests_utils.py index 25046abb..49661e23 100644 --- a/kfet/tests/test_tests_utils.py +++ b/kfet/tests/test_tests_utils.py @@ -107,8 +107,6 @@ class OperationHelpersTest(TestCase): self.assertDictEqual( operation_group.__dict__, { - "_checkout_cache": checkout, - "_on_acc_cache": on_acc, "_state": mock.ANY, "amount": 0, "at": mock.ANY,