Changeset 16030 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 6 Mar 2020, 21:20:29 (5 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
r16007 r16030 1713 1713 mapping = {'a':', '.join(deleted)})) 1714 1714 self.context.writeLogMessage( 1715 self,'removed: %s at %s' % 1716 (', '.join(deleted), self.context.level)) 1715 self,'removed: %s' % (', '.join(deleted))) 1717 1716 self.redirect(self.url(self.context, u'@@manage')+'#tab2') 1718 1717 return -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r16027 r16030 825 825 self.assertTrue( 826 826 'zope.mgr - students.browser.StudyLevelManageFormPage ' 827 '- K1000000 - removed: COURSE1 at 100' in logcontent)827 '- K1000000 - level 100 - removed: COURSE1' in logcontent) 828 828 self.browser.getLink("here").click() 829 829 self.browser.getControl(name="form.course").value = ['COURSE1'] … … 2805 2805 logcontent = open(logfile).read() 2806 2806 self.assertTrue('K1000000 - students.browser.StudyLevelEditFormPage ' 2807 '- K1000000 - removed: COURSE1 at 200' in logcontent)2807 '- K1000000 - level 200 - removed: COURSE1' in logcontent) 2808 2808 # They can add the same ticket using the edit page directly. 2809 2809 # We can do the same by adding the course on the manage page directly … … 2815 2815 logcontent = open(logfile).read() 2816 2816 self.assertTrue('K1000000 - students.browser.StudyLevelEditFormPage - ' 2817 'K1000000 - added: COURSE1|200|2004' in logcontent)2817 'K1000000 - level 200 - added: COURSE1|200|2004' in logcontent) 2818 2818 # Course list can be registered 2819 2819 self.browser.getControl("Register course list").click() … … 2872 2872 self.assertTrue( 2873 2873 'K1000000 - students.browser.StudyLevelEditFormPage - ' 2874 'K1000000 - course tickets invalidated: COURSE1'2874 'K1000000 - level 100 - course tickets invalidated: COURSE1' 2875 2875 in logcontent) 2876 2876 return
Note: See TracChangeset for help on using the changeset viewer.