summaryrefslogtreecommitdiff
path: root/tests/basic/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/tests.py')
-rw-r--r--tests/basic/tests.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/basic/tests.py b/tests/basic/tests.py
index f6eabfaed7..f8ec2715f6 100644
--- a/tests/basic/tests.py
+++ b/tests/basic/tests.py
@@ -179,7 +179,8 @@ class ModelInstanceCreationTests(TestCase):
# You can use 'in' to test for membership...
self.assertIn(a, Article.objects.all())
- # ... but there will often be more efficient ways if that is all you need:
+ # ... but there will often be more efficient ways if that is all you
+ # need:
self.assertTrue(Article.objects.filter(id=a.id).exists())
def test_save_primary_with_default(self):
@@ -785,7 +786,8 @@ class ManagerTest(SimpleTestCase):
It's particularly useful to prevent accidentally leaking new methods
into `Manager`. New `QuerySet` methods that should also be copied onto
- `Manager` will need to be added to `ManagerTest.QUERYSET_PROXY_METHODS`.
+ `Manager` will need to be added to
+ `ManagerTest.QUERYSET_PROXY_METHODS`.
"""
self.assertEqual(
sorted(BaseManager._get_queryset_methods(models.QuerySet)),