Changeset 9218 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 21 Sep 2012, 16:08:35 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9204 r9218 1603 1603 configuration.clearance_fee = 3456.0 1604 1604 configuration.booking_fee = 123.4 1605 self.student['studycourse'].entry_session = 20021606 1605 self.app['configuration'].addSessionConfiguration(configuration) 1607 1606 configuration2 = createObject('waeup.SessionConfiguration') … … 1609 1608 configuration2.clearance_fee = 3456.0 1610 1609 configuration2.booking_fee = 123.4 1610 self.app['configuration'].addSessionConfiguration(configuration2) 1611 1611 1612 self.student['studycourse'].entry_session = 2002 1612 self.app['configuration'].addSessionConfiguration(configuration2) 1613 1613 1614 # Login 1614 1615 self.browser.open(self.login_path) … … 2076 2077 self.browser.getControl("Transfer").click() 2077 2078 self.assertTrue('Successfully transferred' in self.browser.contents) 2078 2079 # The catalog has been updated 2080 cat = queryUtility(ICatalog, name='students_catalog') 2081 results = list( 2082 cat.searchResults( 2083 certcode=('CERT2', 'CERT2'))) 2084 self.assertTrue(results[0] is self.student) 2085 results = list( 2086 cat.searchResults( 2087 current_session=(2011, 2011))) 2088 self.assertTrue(results[0] is self.student) 2079 2089 # Add study level to new study course 2080 2090 studylevel = createObject(u'waeup.StudentStudyLevel')
Note: See TracChangeset for help on using the changeset viewer.