mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
This commit is contained in:
@@ -27,11 +27,11 @@ class DjangoTemplatesTests(TemplateStringsTests):
|
||||
template = engine.from_string('{{ processors }}')
|
||||
request = RequestFactory().get('/')
|
||||
|
||||
# Check that context processors run
|
||||
# Context processors run
|
||||
content = template.render({}, request)
|
||||
self.assertEqual(content, 'yes')
|
||||
|
||||
# Check that context overrides context processors
|
||||
# Context overrides context processors
|
||||
content = template.render({'processors': 'no'}, request)
|
||||
self.assertEqual(content, 'no')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user