diff options
Diffstat (limited to 'docs/tutorials/bfgwiki/src/views')
| -rw-r--r-- | docs/tutorials/bfgwiki/src/views/tutorial/templates/view.pt | 3 | ||||
| -rw-r--r-- | docs/tutorials/bfgwiki/src/views/tutorial/tests.py | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/docs/tutorials/bfgwiki/src/views/tutorial/templates/view.pt b/docs/tutorials/bfgwiki/src/views/tutorial/templates/view.pt index 9035d6225..5b9a3da31 100644 --- a/docs/tutorials/bfgwiki/src/views/tutorial/templates/view.pt +++ b/docs/tutorials/bfgwiki/src/views/tutorial/templates/view.pt @@ -18,7 +18,8 @@ <div class="main_content"> <div style="float:right; width: 10em;"> Viewing <span tal:replace="page.__name__">Page Name Goes Here</span> <br/> -You can return to the <a href="${request.application_url}">FrontPage</a>. +You can return to the +<a href="${request.application_url}">FrontPage</a>. </div> <div tal:replace="structure content">Page text goes here.</div> diff --git a/docs/tutorials/bfgwiki/src/views/tutorial/tests.py b/docs/tutorials/bfgwiki/src/views/tutorial/tests.py index bbf86633a..1ebdbf63e 100644 --- a/docs/tutorials/bfgwiki/src/views/tutorial/tests.py +++ b/docs/tutorials/bfgwiki/src/views/tutorial/tests.py @@ -86,8 +86,9 @@ class AddPageTests(unittest.TestCase): request.subpath = ['AnotherPage'] info = self._callFUT(context, request) self.assertEqual(info['page'].data,'') - self.assertEqual(info['save_url'], - model_url(context, request, 'add_page', 'AnotherPage')) + self.assertEqual( + info['save_url'], + model_url(context, request, 'add_page', 'AnotherPage')) def test_it_submitted(self): context = testing.DummyModel() |
