From 3ad49731466ddd85338362fb783ddf8b97e22994 Mon Sep 17 00:00:00 2001 From: Kieren Eaton <499977+circulon@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:19:48 +0800 Subject: [PATCH] Fixed test not in class --- tests/core/middleware/test_encrypt_cookies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/middleware/test_encrypt_cookies.py b/tests/core/middleware/test_encrypt_cookies.py index 5ceb2c81..909ac14d 100644 --- a/tests/core/middleware/test_encrypt_cookies.py +++ b/tests/core/middleware/test_encrypt_cookies.py @@ -16,7 +16,7 @@ def test_encrypts_cookies(self): EncryptCookies().after(request, response) self.assertNotEqual(response.cookie("test"), "value") -def test_encrypt_cookies_opt_out(self): + def test_encrypt_cookies_opt_out(self): request = self.make_request( {"HTTP_COOKIE": f"test_key=test value"} )