Ignore:
Timestamp:
3 Feb 2017, 17:30:44 (8 years ago)
Author:
Henrik Bettermann
Message:

Revert r14490.

File:
1 edited

Legend:

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

    r14490 r14500  
    976976        self.browser.getLink("Edit course list").click()
    977977        self.browser.getControl("Register course list").click()
    978         #self.assertTrue('Please pay restitution fee first'
    979         #    in self.browser.contents)
    980         #self.app['configuration']['2004'].restitution_fee = 9999.0
    981         #self.browser.open(self.payments_path + '/addop')
    982         #self.browser.getControl(name="form.p_category").value = ['restitution']
    983         #self.browser.getControl("Create ticket").click()
    984         #self.student['payments'].values()[0].approveStudentPayment()
    985         #self.browser.open(self.studycourse_path + '/100/edit')
    986         #self.browser.getControl("Register course list").click()
     978        self.assertTrue('Please pay restitution fee first'
     979            in self.browser.contents)
     980        self.app['configuration']['2004'].restitution_fee = 9999.0
     981        self.browser.open(self.payments_path + '/addop')
     982        self.browser.getControl(name="form.p_category").value = ['restitution']
     983        self.browser.getControl("Create ticket").click()
     984        self.student['payments'].values()[0].approveStudentPayment()
     985        self.browser.open(self.studycourse_path + '/100/edit')
     986        self.browser.getControl("Register course list").click()
    987987        self.assertTrue('Course list has been registered'
    988988            in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.