Commit 6f64b415 authored by Rafael Monnerat's avatar Rafael Monnerat

Fixed url generation, following http://www.erp5.org/GuidelinesForUrlGeneration



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19230 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8b404227
......@@ -115,12 +115,12 @@ class TestPlanningBox(ERP5TypeTestCase):
self.assertEquals(bloc.title , 'Title 0')
for info in bloc.info.values():
self.assertEquals(info.info,'Title 0')
self.assertEquals(info.link , '/%s/foo_module/0/0' % self.getPortal().getId())
self.assertEquals(info.link , '/%s/foo_module/0/0/view' % self.getPortal().getId())
# Check Parent Activities
parent = bloc.parent_activity
for info in parent.info.values():
self.assertEquals(info,'Title 0')
self.assertEquals(parent.link , '/%s/foo_module/0/0' % self.getPortal().getId())
self.assertEquals(parent.link , '/%s/foo_module/0/0/view' % self.getPortal().getId())
# XXX This test for Quantity is not complete, It should be improved.
self.assertEquals(parent.height , None)
self.assertEquals(parent.title,'Title 0')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment