Skip to content

Commit 025cb6d

Browse files
committed
Formatting in docs
1 parent 7ac1044 commit 025cb6d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/test_doc_architecture.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,12 @@ def test_refine_done():
7070
otherwise the letter `x`:
7171
"""
7272

73-
albums_with_o = Table(auto__model=Album, rows=lambda request, **_: Album.objects.filter(name__icontains=request.GET.get('q', 'x')))
73+
albums_with_o = Table(
74+
auto__model=Album,
75+
rows=lambda request, **_: Album.objects.filter(
76+
name__icontains=request.GET.get('q', 'x')
77+
)
78+
)
7479

7580
# @test
7681
albums_with_o.bind(request=req('get')).render_to_response()
@@ -88,7 +93,12 @@ def test_refine_done():
8893
"""
8994

9095
def albums_with_o(request):
91-
return Table(auto__model=Album, rows=Album.objects.filter(name__icontains=request.GET.get('q', 'x')))
96+
return Table(
97+
auto__model=Album,
98+
rows=Album.objects.filter(
99+
name__icontains=request.GET.get('q', 'x')
100+
)
101+
)
92102

93103
# @test
94104
albums_with_o(req('get')).bind(request=req('get')).render_to_response()

0 commit comments

Comments
 (0)