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/update | |
parent | 4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff) | |
download | django-321e94fa41b121f65c02119c02098df327bbd569.tar.gz |
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/update')
-rw-r--r-- | tests/update/tests.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/update/tests.py b/tests/update/tests.py index 89593f8dfc..ca1c5ac4f9 100644 --- a/tests/update/tests.py +++ b/tests/update/tests.py @@ -17,7 +17,7 @@ class SimpleTest(TestCase): def test_nonempty_update(self): """ - Test that update changes the right number of rows for a nonempty queryset + Update changes the right number of rows for a nonempty queryset """ num_updated = self.a1.b_set.update(y=100) self.assertEqual(num_updated, 20) @@ -26,7 +26,7 @@ class SimpleTest(TestCase): def test_empty_update(self): """ - Test that update changes the right number of rows for an empty queryset + Update changes the right number of rows for an empty queryset """ num_updated = self.a2.b_set.update(y=100) self.assertEqual(num_updated, 0) @@ -35,7 +35,7 @@ class SimpleTest(TestCase): def test_nonempty_update_with_inheritance(self): """ - Test that update changes the right number of rows for an empty queryset + Update changes the right number of rows for an empty queryset when the update affects only a base table """ num_updated = self.a1.d_set.update(y=100) @@ -45,7 +45,7 @@ class SimpleTest(TestCase): def test_empty_update_with_inheritance(self): """ - Test that update changes the right number of rows for an empty queryset + Update changes the right number of rows for an empty queryset when the update affects only a base table """ num_updated = self.a2.d_set.update(y=100) @@ -55,7 +55,7 @@ class SimpleTest(TestCase): def test_foreign_key_update_with_id(self): """ - Test that update works using <field>_id for foreign keys + Update works using <field>_id for foreign keys """ num_updated = self.a1.d_set.update(a_id=self.a2) self.assertEqual(num_updated, 20) |