summaryrefslogtreecommitdiff
path: root/tests/model_fields/test_imagefield.py
diff options
context:
space:
mode:
authorza <za@python.or.id>2016-10-27 14:53:39 +0700
committerTim Graham <timograham@gmail.com>2016-11-10 21:30:21 -0500
commit321e94fa41b121f65c02119c02098df327bbd569 (patch)
treece5476c191d589aca4b124f841dfbccac8dd299f /tests/model_fields/test_imagefield.py
parent4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff)
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/model_fields/test_imagefield.py')
-rw-r--r--tests/model_fields/test_imagefield.py12
1 files changed, 6 insertions, 6 deletions
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')