Ignore:
Timestamp:
31 Oct 2012, 16:23:36 (12 years ago)
Author:
Henrik Bettermann
Message:

Indicate existing comment by 'yes'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r9484 r9485  
    12561256        self.assertTrue('Student is in wrong state'
    12571257            in self.browser.contents)
    1258         # The CO can go to his department throug the my_roles page
     1258        # The CO can go to his department throug the my_roles page ...
    12591259        self.browser.open('http://localhost/app/users/mrclear/my_roles')
    12601260        self.browser.getLink("http://localhost/app/faculties/fac1/dep1").click()
    1261         # and view the list of students
     1261        # ... and view the list of students
    12621262        self.browser.getLink("Show students").click()
    12631263        self.assertTrue(self.student_id in self.browser.contents)
    1264 
    1265 
     1264        # The comment is indicated by 'yes'
     1265        self.assertTrue('<td><span>yes</span></td>' in self.browser.contents)
    12661266        # When a student is cleared the comment is automatically deleted
    12671267        IWorkflowInfo(self.student).fireTransition('request_clearance')
    12681268        IWorkflowInfo(self.student).fireTransition('clear')
    12691269        self.assertEqual(self.student.clearance_comment, None)
    1270 
    12711270
    12721271    def test_handle_courses_by_ca(self):
Note: See TracChangeset for help on using the changeset viewer.