Skip to content

Commit

Permalink
chore: sync w/ generation from project name 'tutorial'
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Feb 7, 2024
1 parent ccf2883 commit 5229e50
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/wiki/src/authorization/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def test_my_view(app_request):
info = my_view(app_request)
assert app_request.response.status_int == 200
assert info['project'] == 'myproj'
assert info['project'] == 'tutorial'

def test_notfound_view(app_request):
info = notfound_view(app_request)
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/wiki/src/basiclayout/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def test_my_view(app_request):
info = my_view(app_request)
assert app_request.response.status_int == 200
assert info['project'] == 'myproj'
assert info['project'] == 'tutorial'

def test_notfound_view(app_request):
info = notfound_view(app_request)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

@view_config(context=MyModel, renderer='tutorial:templates/mytemplate.pt')
def my_view(request):
return {'project': 'myproj'}
return {'project': 'tutorial'}
2 changes: 1 addition & 1 deletion docs/tutorials/wiki/src/installation/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def test_my_view(app_request):
info = my_view(app_request)
assert app_request.response.status_int == 200
assert info['project'] == 'myproj'
assert info['project'] == 'tutorial'

def test_notfound_view(app_request):
info = notfound_view(app_request)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

@view_config(context=MyModel, renderer='tutorial:templates/mytemplate.pt')
def my_view(request):
return {'project': 'myproj'}
return {'project': 'tutorial'}
2 changes: 1 addition & 1 deletion docs/tutorials/wiki/src/models/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def test_my_view(app_request):
info = my_view(app_request)
assert app_request.response.status_int == 200
assert info['project'] == 'myproj'
assert info['project'] == 'tutorial'

def test_notfound_view(app_request):
info = notfound_view(app_request)
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/wiki/src/models/tutorial/views/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

@view_config(context=MyModel, renderer='tutorial:templates/mytemplate.pt')
def my_view(request):
return {'project': 'myproj'}
return {'project': 'tutorial'}
2 changes: 1 addition & 1 deletion docs/tutorials/wiki/src/views/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def test_my_view(app_request):
info = my_view(app_request)
assert app_request.response.status_int == 200
assert info['project'] == 'myproj'
assert info['project'] == 'tutorial'

def test_notfound_view(app_request):
info = notfound_view(app_request)
Expand Down

0 comments on commit 5229e50

Please sign in to comment.