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/model_fields/test_imagefield.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/model_fields/test_imagefield.py') diff --git a/tests/model_fields/test_imagefield.py b/tests/model_fields/test_imagefield.py index a70394795f..e178760d2f 100644 --- a/tests/model_fields/test_imagefield.py +++ b/tests/model_fields/test_imagefield.py @@ -179,8 +179,8 @@ class ImageFieldTests(ImageFieldTestMixin, TestCase): def test_pickle(self): """ - Tests that ImageField can be pickled, unpickled, and that the - image of the unpickled version is the same as the original. + ImageField can be pickled, unpickled, and that the image of + the unpickled version is the same as the original. """ import pickle @@ -242,7 +242,7 @@ class ImageFieldTwoDimensionsTests(ImageFieldTestMixin, TestCase): def test_default_value(self): """ - Tests that the default value for an ImageField is an instance of + The default value for an ImageField is an instance of the field's attr_class (TestImageFieldFile in this case) with no name (name set to None). """ @@ -252,7 +252,7 @@ class ImageFieldTwoDimensionsTests(ImageFieldTestMixin, TestCase): def test_assignment_to_None(self): """ - Tests that assigning ImageField to None clears dimensions. + Assigning ImageField to None clears dimensions. """ p = self.PersonModel(name='Joe', mugshot=self.file1) self.check_dimensions(p, 4, 8) @@ -284,7 +284,7 @@ class ImageFieldTwoDimensionsTests(ImageFieldTestMixin, TestCase): def test_dimensions(self): """ - Checks that dimensions are updated correctly in various situations. + Dimensions are updated correctly in various situations. """ p = self.PersonModel(name='Joe') @@ -417,7 +417,7 @@ class TwoImageFieldTests(ImageFieldTestMixin, TestCase): def test_dimensions(self): """ - Checks that dimensions are updated correctly in various situations. + Dimensions are updated correctly in various situations. """ p = self.PersonModel(name='Joe') -- cgit v1.3