diff options
| author | Tres Seaver <tseaver@palladion.com> | 2024-02-07 10:55:15 -0500 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2024-02-07 11:08:35 -0500 |
| commit | 5229e501acd802e90220c754e4c09de582967bbd (patch) | |
| tree | f8f638a381eb3f884af1bf6daef98483b1344027 | |
| parent | ccf288380adb995c88a3dabe77c94c24405e6f0b (diff) | |
| download | pyramid-5229e501acd802e90220c754e4c09de582967bbd.tar.gz pyramid-5229e501acd802e90220c754e4c09de582967bbd.tar.bz2 pyramid-5229e501acd802e90220c754e4c09de582967bbd.zip | |
chore: sync w/ generation from project name 'tutorial'
8 files changed, 8 insertions, 8 deletions
diff --git a/docs/tutorials/wiki/src/authorization/tests/test_views.py b/docs/tutorials/wiki/src/authorization/tests/test_views.py index 2b4201955..c2e28dd63 100644 --- a/docs/tutorials/wiki/src/authorization/tests/test_views.py +++ b/docs/tutorials/wiki/src/authorization/tests/test_views.py @@ -5,7 +5,7 @@ from tutorial.views.notfound import notfound_view 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) diff --git a/docs/tutorials/wiki/src/basiclayout/tests/test_views.py b/docs/tutorials/wiki/src/basiclayout/tests/test_views.py index 2b4201955..c2e28dd63 100644 --- a/docs/tutorials/wiki/src/basiclayout/tests/test_views.py +++ b/docs/tutorials/wiki/src/basiclayout/tests/test_views.py @@ -5,7 +5,7 @@ from tutorial.views.notfound import notfound_view 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) diff --git a/docs/tutorials/wiki/src/basiclayout/tutorial/views/default.py b/docs/tutorials/wiki/src/basiclayout/tutorial/views/default.py index 51ec5ed98..c849e82d9 100644 --- a/docs/tutorials/wiki/src/basiclayout/tutorial/views/default.py +++ b/docs/tutorials/wiki/src/basiclayout/tutorial/views/default.py @@ -5,4 +5,4 @@ from ..models import MyModel @view_config(context=MyModel, renderer='tutorial:templates/mytemplate.pt') def my_view(request): - return {'project': 'myproj'} + return {'project': 'tutorial'} diff --git a/docs/tutorials/wiki/src/installation/tests/test_views.py b/docs/tutorials/wiki/src/installation/tests/test_views.py index 2b4201955..c2e28dd63 100644 --- a/docs/tutorials/wiki/src/installation/tests/test_views.py +++ b/docs/tutorials/wiki/src/installation/tests/test_views.py @@ -5,7 +5,7 @@ from tutorial.views.notfound import notfound_view 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) diff --git a/docs/tutorials/wiki/src/installation/tutorial/views/default.py b/docs/tutorials/wiki/src/installation/tutorial/views/default.py index 51ec5ed98..c849e82d9 100644 --- a/docs/tutorials/wiki/src/installation/tutorial/views/default.py +++ b/docs/tutorials/wiki/src/installation/tutorial/views/default.py @@ -5,4 +5,4 @@ from ..models import MyModel @view_config(context=MyModel, renderer='tutorial:templates/mytemplate.pt') def my_view(request): - return {'project': 'myproj'} + return {'project': 'tutorial'} diff --git a/docs/tutorials/wiki/src/models/tests/test_views.py b/docs/tutorials/wiki/src/models/tests/test_views.py index 2b4201955..c2e28dd63 100644 --- a/docs/tutorials/wiki/src/models/tests/test_views.py +++ b/docs/tutorials/wiki/src/models/tests/test_views.py @@ -5,7 +5,7 @@ from tutorial.views.notfound import notfound_view 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) diff --git a/docs/tutorials/wiki/src/models/tutorial/views/default.py b/docs/tutorials/wiki/src/models/tutorial/views/default.py index 51ec5ed98..c849e82d9 100644 --- a/docs/tutorials/wiki/src/models/tutorial/views/default.py +++ b/docs/tutorials/wiki/src/models/tutorial/views/default.py @@ -5,4 +5,4 @@ from ..models import MyModel @view_config(context=MyModel, renderer='tutorial:templates/mytemplate.pt') def my_view(request): - return {'project': 'myproj'} + return {'project': 'tutorial'} diff --git a/docs/tutorials/wiki/src/views/tests/test_views.py b/docs/tutorials/wiki/src/views/tests/test_views.py index 2b4201955..c2e28dd63 100644 --- a/docs/tutorials/wiki/src/views/tests/test_views.py +++ b/docs/tutorials/wiki/src/views/tests/test_views.py @@ -5,7 +5,7 @@ from tutorial.views.notfound import notfound_view 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) |
