Hi,
I installed Django 4.1 alpha and ran the tests with deprecation warnings
enabled, but I didn't get any deprecation warnings for logging out with
get. I have this test:
def test_user_can_logout(self):
r = self.client.get(path='/logout/')
self.assertEqual(first=r.status_code, second=200)
r = self.client.get(path='/')
self.assertIs(expr1=r.context['user'].is_authenticated,
expr2=False)
And I ran it with the command
`./tests_manage_all_sites_with_deprecation_warnings.sh test
speedy.core.accounts.tests.test_views.LogoutViewTestCase`, and the test is
passing without any deprecation warnings. Is it a problem with Django 4.1
or in the way I ran the test?
Do you want me to file a new ticket?
Thanks,
Uri.
אורי
[email protected]
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/CABD5YeFEdxPt3Yxbv3Ws3EFxmnswmXb9qhsLk1NH-%2BaLucwyxQ%40mail.gmail.com.