diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-08-19 20:57:32 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-08-22 16:14:09 +0200 |
| commit | b3166e1e15824aedb7a609dfda18ef36ea023d06 (patch) | |
| tree | 5509720aaee74c6a845f3ef3c5615246938539d6 /tests/async/test_async_auth.py | |
| parent | 0b2493a0da14ea91027fec7c95cb63af126e3296 (diff) | |
Refs #35530 -- Corrected deprecation message in auth.alogin().
Follow up to ceecd518b19044181a3598c55ebed7c2545963cc.
Diffstat (limited to 'tests/async/test_async_auth.py')
| -rw-r--r-- | tests/async/test_async_auth.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/async/test_async_auth.py b/tests/async/test_async_auth.py index 94c5f2ddb4..d872a4c5bb 100644 --- a/tests/async/test_async_auth.py +++ b/tests/async/test_async_auth.py @@ -79,7 +79,7 @@ class AsyncAuthTest(TestCase): ), self.assertWarnsMessage( RemovedInDjango61Warning, - "Fallback to request.user when user is None will be removed.", + "Fallback to request.auser() when user is None will be removed.", ), ): await alogin(request, None) @@ -100,7 +100,7 @@ class AsyncAuthTest(TestCase): ), self.assertWarnsMessage( RemovedInDjango61Warning, - "Fallback to request.user when user is None will be removed.", + "Fallback to request.auser() when user is None will be removed.", ), ): await alogin(request, None) @@ -116,7 +116,7 @@ class AsyncAuthTest(TestCase): request.session = await self.client.asession() with self.assertWarnsMessage( RemovedInDjango61Warning, - "Fallback to request.user when user is None will be removed.", + "Fallback to request.auser() when user is None will be removed.", ): await alogin(request, None) user = await aget_user(request) |
