diff options
Diffstat (limited to 'tests')
| -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 3d5a6b678d..f013084b6c 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) |
