Changeset 9255 for main/waeup.kofa/trunk/src
- Timestamp:
- 28 Sep 2012, 10:28:16 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9252 r9255 807 807 studylevel = createObject(u'waeup.StudentStudyLevel') 808 808 studylevel.level = int(level_code) 809 studylevel.level_session = self.context.current_session 809 810 try: 810 811 self.context.addStudentStudyLevel( -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9252 r9255 659 659 self.browser.getControl("Add study level").click() 660 660 self.assertMatches('...<span>100</span>...', self.browser.contents) 661 self.assertEqual(self.student['studycourse']['100'].level, 100) 662 self.assertEqual(self.student['studycourse']['100'].level_session, 2004) 661 663 self.browser.getControl("Add study level").click() 662 664 self.assertMatches('...This level exists...', self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.