mirror of
https://github.com/django/django.git
synced 2025-10-30 09:06:13 +00:00
Removed double spaces after periods and within phrases.
This commit is contained in:
@@ -133,7 +133,7 @@ class AuthContextProcessorTests(TestCase):
|
||||
"""
|
||||
The lazy objects returned behave just like the wrapped objects.
|
||||
"""
|
||||
# These are 'functional' level tests for common use cases. Direct
|
||||
# These are 'functional' level tests for common use cases. Direct
|
||||
# testing of the implementation (SimpleLazyObject) is in the 'utils'
|
||||
# tests.
|
||||
self.client.login(username="super", password="secret")
|
||||
@@ -148,7 +148,7 @@ class AuthContextProcessorTests(TestCase):
|
||||
# A Q() comparing a user and with another Q() (in an AND or OR fashion).
|
||||
Q(user=response.context["user"]) & Q(someflag=True)
|
||||
|
||||
# Tests for user equality. This is hard because User defines
|
||||
# Tests for user equality. This is hard because User defines
|
||||
# equality in a non-duck-typing way
|
||||
# See bug #12060
|
||||
self.assertEqual(response.context["user"], user)
|
||||
|
||||
Reference in New Issue
Block a user