diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-07-18 15:37:14 +0200 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-07-23 10:09:43 -0300 |
| commit | 1ecf6889cabc9f3f60d3fdd651468cddd8f4da6e (patch) | |
| tree | 77eebf89eaf5f1ee6f5947a962caa67b5cca7f4b /tests/auth_tests | |
| parent | 1909108f9f0f2a91c1ec0fcdb65b01f58743a871 (diff) | |
Removed double spaces after periods and within phrases.
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()) |
