mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
This commit is contained in:
parent
4bb70cbcc6
commit
321e94fa41
185 changed files with 1216 additions and 1528 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue