1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.

This commit is contained in:
za
2016-10-27 14:53:39 +07:00
committed by Tim Graham
parent 4bb70cbcc6
commit 321e94fa41
185 changed files with 1216 additions and 1528 deletions

View File

@@ -45,7 +45,7 @@ class CommandTests(SimpleTestCase):
self.assertEqual(translation.get_language(), 'fr')
def test_explode(self):
""" Test that an unknown command raises CommandError """
""" An unknown command raises CommandError """
with self.assertRaises(CommandError):
management.call_command(('explode',))
@@ -86,7 +86,7 @@ class CommandTests(SimpleTestCase):
def test_discover_commands_in_eggs(self):
"""
Test that management commands can also be loaded from Python eggs.
Management commands can also be loaded from Python eggs.
"""
egg_dir = '%s/eggs' % os.path.dirname(upath(__file__))
egg_name = '%s/basic.egg' % egg_dir