Ignore:
Timestamp:
12 Apr 2012, 06:54:46 (13 years ago)
Author:
Henrik Bettermann
Message:

Add view buttons and fix test.

File:
1 edited

Legend:

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

    r8118 r8119  
    112112        self.personal_path = self.student_path + '/view_personal'
    113113        self.edit_clearance_path = self.student_path + '/cedit'
    114         self.manage_clearance_path = self.student_path + '/edit_clearance'
     114        self.manage_clearance_path = self.student_path + '/manage_clearance'
    115115        self.edit_personal_path = self.student_path + '/edit_personal'
    116116        self.studycourse_path = self.student_path + '/studycourse'
     
    11791179        self.browser.getLink("View").click()
    11801180        self.browser.getLink("Download clearance slip").click()
    1181         print self.browser.contents
    11821181        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    11831182        self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
    11841183        # Students can request clearance
     1184        self.browser.open(self.edit_clearance_path)
    11851185        self.browser.getControl("Save and request clearance").click()
    11861186        self.browser.getControl(name="ac_series").value = self.existing_clrseries
Note: See TracChangeset for help on using the changeset viewer.