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/invalid_models_tests | |
| parent | 4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff) | |
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/invalid_models_tests')
| -rw-r--r-- | tests/invalid_models_tests/test_relative_fields.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/invalid_models_tests/test_relative_fields.py b/tests/invalid_models_tests/test_relative_fields.py index 6756302bf1..d178d6936e 100644 --- a/tests/invalid_models_tests/test_relative_fields.py +++ b/tests/invalid_models_tests/test_relative_fields.py @@ -1527,7 +1527,7 @@ class ComplexClashTests(SimpleTestCase): class M2mThroughFieldsTests(SimpleTestCase): def test_m2m_field_argument_validation(self): """ - Tests that ManyToManyField accepts the ``through_fields`` kwarg + ManyToManyField accepts the ``through_fields`` kwarg only if an intermediary table is specified. """ class Fan(models.Model): @@ -1538,7 +1538,7 @@ class M2mThroughFieldsTests(SimpleTestCase): def test_invalid_order(self): """ - Tests that mixing up the order of link fields to ManyToManyField.through_fields + Mixing up the order of link fields to ManyToManyField.through_fields triggers validation errors. """ class Fan(models.Model): @@ -1572,7 +1572,7 @@ class M2mThroughFieldsTests(SimpleTestCase): def test_invalid_field(self): """ - Tests that providing invalid field names to ManyToManyField.through_fields + Providing invalid field names to ManyToManyField.through_fields triggers validation errors. """ class Fan(models.Model): @@ -1610,7 +1610,7 @@ class M2mThroughFieldsTests(SimpleTestCase): def test_explicit_field_names(self): """ - Tests that if ``through_fields`` kwarg is given, it must specify both + If ``through_fields`` kwarg is given, it must specify both link fields of the intermediary table. """ class Fan(models.Model): |
