- Timestamp:
- 12 May 2012, 16:27:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r8429 r8434 725 725 self.browser.getControl(name="transition").value = ['clear'] 726 726 self.browser.getControl("Save").click() 727 # Managers approve payment, they do not pay 728 self.assertFalse('pay_first_school_fee' in self.browser.contents) 727 729 self.browser.getControl( 728 name="transition").value = [' pay_first_school_fee']730 name="transition").value = ['approve_first_school_fee'] 729 731 self.browser.getControl("Save").click() 730 732 self.browser.getControl(name="transition").value = ['reset6'] … … 732 734 # In state returning the pay_school_fee transition triggers some 733 735 # changes of attributes 734 self.browser.getControl(name="transition").value = [' pay_school_fee']736 self.browser.getControl(name="transition").value = ['approve_school_fee'] 735 737 self.browser.getControl("Save").click() 736 738 self.assertEqual(student['studycourse'].current_session, 2005) # +1 … … 1399 1401 self.assertEqual(payment.r_amount_approved, 3456.0) 1400 1402 self.assertEqual(payment.r_code, 'AP') 1401 self.assertEqual(payment.r_desc, u'Payment approved by K1000000')1403 self.assertEqual(payment.r_desc, u'Payment approved by Anna Tester') 1402 1404 # The new CLR-0 pin has been created 1403 1405 self.assertEqual(len(self.app['accesscodes']['CLR-0']),1)
Note: See TracChangeset for help on using the changeset viewer.