Changeset 6647


Ignore:
Timestamp:
29 Aug 2011, 06:15:41 (13 years ago)
Author:
Henrik Bettermann
Message:

Show correct title on StudentsContainerManagePage?.

Fix tests (h2 tags removed).

Location:
main/waeup.sirp/trunk/src/waeup/sirp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt

    r6613 r6647  
    195195  >>> print browser.contents
    196196  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
    197   ...<h2>Contact</h2>
     197  ...Contact
    198198  ...
    199199
     
    272272  >>> print browser.contents
    273273  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
    274   ...<h2>Faculty of TestFac (TF)</h2>...
     274  ...Faculty of TestFac (TF)...
    275275  ...
    276276
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py

    r6644 r6647  
    154154    grok.view(StudentsContainerPage)
    155155    grok.require('waeup.manageStudents')
    156     text = 'Manage students'
     156    text = 'Manage student section'
    157157
    158158
     
    165165    grok.template('studentscontainermanagepage')
    166166    pnav = 4
    167 
    168     @property
    169     def title(self):
    170         return "Students"
     167    title = 'Manage student section'
    171168
    172169    @property
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py

    r6641 r6647  
    134134        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    135135        self.assertEqual(self.browser.url, self.container_path)
    136         self.browser.getLink("Manage students").click()
     136        self.browser.getLink("Manage student section").click()
    137137        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    138138        self.assertEqual(self.browser.url, self.manage_container_path)
Note: See TracChangeset for help on using the changeset viewer.