diff options
| author | za <za@python.or.id> | 2016-10-27 14:53:39 +0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-10 21:30:21 -0500 |
| commit | 321e94fa41b121f65c02119c02098df327bbd569 (patch) | |
| tree | ce5476c191d589aca4b124f841dfbccac8dd299f /tests/auth_tests/test_context_processors.py | |
| parent | 4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff) | |
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/auth_tests/test_context_processors.py')
| -rw-r--r-- | tests/auth_tests/test_context_processors.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auth_tests/test_context_processors.py b/tests/auth_tests/test_context_processors.py index 150703440b..d9efdc3d5b 100644 --- a/tests/auth_tests/test_context_processors.py +++ b/tests/auth_tests/test_context_processors.py @@ -41,7 +41,7 @@ class PermWrapperTests(SimpleTestCase): def test_permwrapper_in(self): """ - Test that 'something' in PermWrapper works as expected. + 'something' in PermWrapper works as expected. """ perms = PermWrapper(MockUser()) # Works for modules and full permissions. @@ -72,7 +72,7 @@ class AuthContextProcessorTests(TestCase): @override_settings(MIDDLEWARE=AUTH_MIDDLEWARE) def test_session_not_accessed(self): """ - Tests that the session is not accessed simply by including + The session is not accessed simply by including the auth context processor """ response = self.client.get('/auth_processor_no_attr_access/') @@ -87,7 +87,7 @@ class AuthContextProcessorTests(TestCase): @override_settings(MIDDLEWARE=AUTH_MIDDLEWARE) def test_session_is_accessed(self): """ - Tests that the session is accessed if the auth context processor + The session is accessed if the auth context processor is used and relevant attributes accessed. """ response = self.client.get('/auth_processor_attr_access/') @@ -130,7 +130,7 @@ class AuthContextProcessorTests(TestCase): def test_user_attrs(self): """ - Test that the lazy objects returned behave just like the wrapped objects. + The lazy objects returned behave just like the wrapped objects. """ # These are 'functional' level tests for common use cases. Direct # testing of the implementation (SimpleLazyObject) is in the 'utils' |
