summaryrefslogtreecommitdiff
path: root/tests/staticfiles_tests/test_management.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/staticfiles_tests/test_management.py
parent4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff)
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/staticfiles_tests/test_management.py')
-rw-r--r--tests/staticfiles_tests/test_management.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/staticfiles_tests/test_management.py b/tests/staticfiles_tests/test_management.py
index 6ac9794b34..d4d5064b74 100644
--- a/tests/staticfiles_tests/test_management.py
+++ b/tests/staticfiles_tests/test_management.py
@@ -45,7 +45,7 @@ class TestFindStatic(TestDefaults, CollectionTestCase):
def test_all_files(self):
"""
- Test that findstatic returns all candidate files if run without --first and -v1.
+ findstatic returns all candidate files if run without --first and -v1.
"""
result = call_command('findstatic', 'test/file.txt', verbosity=1, stdout=six.StringIO())
lines = [l.strip() for l in result.split('\n')]
@@ -55,7 +55,7 @@ class TestFindStatic(TestDefaults, CollectionTestCase):
def test_all_files_less_verbose(self):
"""
- Test that findstatic returns all candidate files if run without --first and -v0.
+ findstatic returns all candidate files if run without --first and -v0.
"""
result = call_command('findstatic', 'test/file.txt', verbosity=0, stdout=six.StringIO())
lines = [l.strip() for l in result.split('\n')]
@@ -65,7 +65,7 @@ class TestFindStatic(TestDefaults, CollectionTestCase):
def test_all_files_more_verbose(self):
"""
- Test that findstatic returns all candidate files if run without --first and -v2.
+ findstatic returns all candidate files if run without --first and -v2.
Also, test that findstatic returns the searched locations with -v2.
"""
result = call_command('findstatic', 'test/file.txt', verbosity=2, stdout=six.StringIO())
@@ -140,7 +140,7 @@ class TestCollection(TestDefaults, CollectionTestCase):
"""
def test_ignore(self):
"""
- Test that -i patterns are ignored.
+ -i patterns are ignored.
"""
self.assertFileNotFound('test/test.ignoreme')