diff options
author | za <za@python.or.id> | 2016-10-27 14:53:39 +0700 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-11-10 21:30:21 -0500 |
commit | 321e94fa41b121f65c02119c02098df327bbd569 (patch) | |
tree | ce5476c191d589aca4b124f841dfbccac8dd299f /tests/apps | |
parent | 4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff) | |
download | django-321e94fa41b121f65c02119c02098df327bbd569.tar.gz |
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/apps')
-rw-r--r-- | tests/apps/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
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): |