mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +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
|
|
@ -39,7 +39,7 @@ class OptimizerTests(SimpleTestCase):
|
|||
|
||||
def test_single(self):
|
||||
"""
|
||||
Tests that the optimizer does nothing on a single operation,
|
||||
The optimizer does nothing on a single operation,
|
||||
and that it does it in just one pass.
|
||||
"""
|
||||
self.assertOptimizesTo(
|
||||
|
|
@ -655,9 +655,9 @@ class OptimizerTests(SimpleTestCase):
|
|||
|
||||
def test_optimize_through_fields(self):
|
||||
"""
|
||||
Checks that field-level through checking is working.
|
||||
This should manage to collapse model Foo to nonexistence,
|
||||
and model Bar to a single IntegerField called "width".
|
||||
field-level through checking is working. This should manage to collapse
|
||||
model Foo to nonexistence, and model Bar to a single IntegerField
|
||||
called "width".
|
||||
"""
|
||||
self.assertOptimizesTo(
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue