diff options
Diffstat (limited to 'tests/auth_tests')
| -rw-r--r-- | tests/auth_tests/test_context_processors.py | 4 | ||||
| -rw-r--r-- | tests/auth_tests/test_views.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/auth_tests/test_context_processors.py b/tests/auth_tests/test_context_processors.py index ab621313e8..7e6c6a556e 100644 --- a/tests/auth_tests/test_context_processors.py +++ b/tests/auth_tests/test_context_processors.py @@ -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) diff --git a/tests/auth_tests/test_views.py b/tests/auth_tests/test_views.py index c8f0be1be7..e6419de8e6 100644 --- a/tests/auth_tests/test_views.py +++ b/tests/auth_tests/test_views.py @@ -153,7 +153,7 @@ class PasswordResetTest(AuthViewsTestCase): self.assertEqual(len(mail.outbox), 1) self.assertIn("http://", mail.outbox[0].body) self.assertEqual(settings.DEFAULT_FROM_EMAIL, mail.outbox[0].from_email) - # optional multipart text/html email has been added. Make sure original, + # optional multipart text/html email has been added. Make sure original, # default functionality is 100% the same self.assertFalse(mail.outbox[0].message().is_multipart()) |
