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/apps/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/apps') diff --git a/tests/apps/tests.py b/tests/apps/tests.py index 639ce97758..a0f7ecbb10 100644 --- a/tests/apps/tests.py +++ b/tests/apps/tests.py @@ -40,7 +40,7 @@ class AppsTests(SimpleTestCase): def test_singleton_master(self): """ - Ensures that only one master registry can exist. + Only one master registry can exist. """ with self.assertRaises(RuntimeError): Apps(installed_apps=None) @@ -179,7 +179,7 @@ class AppsTests(SimpleTestCase): def test_models_py(self): """ - Tests that the models in the models.py file were loaded correctly. + The models in the models.py file were loaded correctly. """ self.assertEqual(apps.get_model("apps", "TotallyNormal"), TotallyNormal) with self.assertRaises(LookupError): @@ -282,7 +282,7 @@ class AppsTests(SimpleTestCase): # and LazyModelC shouldn't be waited on until LazyModelB exists. self.assertSetEqual(set(apps._pending_operations) - initial_pending, {('apps', 'lazyb')}) - # Test that multiple operations can wait on the same model + # Multiple operations can wait on the same model apps.lazy_model_operation(test_func, ('apps', 'lazyb')) class LazyB(models.Model): -- cgit v1.3