Changeset 16834
- Timestamp:
- 24 Feb 2022, 12:48:18 (3 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r16833 r16834 1695 1695 self.importer = importer or session.get('import_importer', None) 1696 1696 session['import_importer'] = self.importer 1697 #if self.importer and 'update' in self.importer:1698 #if self.mode != 'update':1699 #self.flash(_('Update mode only!'), type='warning')1700 #self.mode_locked = True1701 #self.mode = 'update'1702 #proceed = None1697 if self.importer and 'update' in self.importer: 1698 if self.mode != 'update': 1699 self.flash(_('Update mode only!'), type='warning') 1700 self.mode_locked = True 1701 self.mode = 'update' 1702 proceed = None 1703 1703 session['import_mode'] = self.mode 1704 1704 if proceed is not None: -
main/waeup.kofa/trunk/src/waeup/kofa/doctests/batchprocessing_browser.txt
r15416 r16834 114 114 'Public REST Document Processor', 115 115 'Student Processor', 116 'StudentStudyCourse Processor (update only)',116 'StudentStudyCourse Processor', 117 117 'StudentStudyLevel Processor', 118 118 'User Processor', -
main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py
r16833 r16834 486 486 grok.provides(IBatchProcessor) 487 487 grok.context(Interface) 488 util_name = 'studycourse updater'488 util_name = 'studycourseprocessor' 489 489 grok.name(util_name) 490 490 -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_batching.py
r16831 r16834 766 766 self.assertTrue( 767 767 'INFO - system - ' 768 'StudentStudyCourse Processor (update only)- '768 'StudentStudyCourse Processor - ' 769 769 'sample_transfer_data - K1000000 - updated: entry_mode=transferred, ' 770 770 'certificate=CERT2, current_session=2009, current_level=300' -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r16828 r16834 1650 1650 modeselect = self.browser.getControl(name='mode') 1651 1651 importerselect.getControl( 1652 'StudentStudyCourse Processor (update only)',index=0).selected = True1653 modeselect.getControl(value=' create').selected = True1654 self.browser.getControl('Proceed to step 3').click()1655 self.assertTrue('Update mode only' in self.browser.contents)1652 'StudentStudyCourse Processor',index=0).selected = True 1653 modeselect.getControl(value='update').selected = True 1654 #self.browser.getControl('Proceed to step 3').click() 1655 #self.assertTrue('Update mode only' in self.browser.contents) 1656 1656 self.browser.getControl('Proceed to step 3').click() 1657 1657 self.assertTrue('Header fields OK' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.