From 321e94fa41b121f65c02119c02098df327bbd569 Mon Sep 17 00:00:00 2001 From: za Date: Thu, 27 Oct 2016 14:53:39 +0700 Subject: Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. --- tests/invalid_models_tests/test_relative_fields.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/invalid_models_tests') 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): -- cgit v1.3