summaryrefslogtreecommitdiff
path: root/tests/defer
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2018-03-16 10:54:34 +0100
committerGitHub <noreply@github.com>2018-03-16 10:54:34 +0100
commit362813d6287925b8f63f0b107c55a74d95f5825e (patch)
treeefd69a3deb9e837624279e5abfdd8d55d57dcd7c /tests/defer
parentaeb8c381789ad93866223f8bd07d09ae5e2edd9e (diff)
downloaddjango-362813d6287925b8f63f0b107c55a74d95f5825e.tar.gz
Fixed hanging indentation in various code.
Diffstat (limited to 'tests/defer')
-rw-r--r--tests/defer/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/defer/tests.py b/tests/defer/tests.py
index a3ef1c58b1..dbb1299255 100644
--- a/tests/defer/tests.py
+++ b/tests/defer/tests.py
@@ -233,8 +233,7 @@ class TestDefer2(AssertionMixin, TestCase):
fetched parent model PK if it happens to be available.
"""
s1 = Secondary.objects.create(first="x1", second="y1")
- bc = BigChild.objects.create(name="b1", value="foo", related=s1,
- other="bar")
+ bc = BigChild.objects.create(name='b1', value='foo', related=s1, other='bar')
bc_deferred = BigChild.objects.only('name').get(pk=bc.pk)
with self.assertNumQueries(0):
bc_deferred.id