Ignore:
Timestamp:
5 Nov 2012, 12:21:20 (12 years ago)
Author:
Henrik Bettermann
Message:

Extend test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_browser.py

    r9472 r9536  
    210210        # Student can view and edit clearance data if clearance has started ...
    211211        IWorkflowInfo(self.student).fireTransition('start_clearance')
     212        self.student.officer_comment = u'Fill properly'
    212213        self.browser.getLink("Clearance Data").click()
     214        self.assertTrue("Officer's Comment" in self.browser.contents)
     215        # Students can't edit officer's comment
    213216        self.browser.getLink("Edit").click()
     217        self.assertFalse("Officer's Comment" in self.browser.contents)
    214218        self.assertTrue('Save' in self.browser.contents)
    215219        # ... and request clearance if nationality field has been filled.
Note: See TracChangeset for help on using the changeset viewer.