Changeset 16834


Ignore:
Timestamp:
24 Feb 2022, 12:48:18 (3 years ago)
Author:
Henrik Bettermann
Message:

Change StudentStudyCourseProcessor? name.

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  
    16951695        self.importer = importer or session.get('import_importer', None)
    16961696        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 = True
    1701         #        self.mode = 'update'
    1702         #        proceed = None
     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 = True
     1701                self.mode = 'update'
     1702                proceed = None
    17031703        session['import_mode'] = self.mode
    17041704        if proceed is not None:
  • main/waeup.kofa/trunk/src/waeup/kofa/doctests/batchprocessing_browser.txt

    r15416 r16834  
    114114    'Public REST Document Processor',
    115115    'Student Processor',
    116     'StudentStudyCourse Processor (update only)',
     116    'StudentStudyCourse Processor',
    117117    'StudentStudyLevel Processor',
    118118    'User Processor',
  • main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py

    r16833 r16834  
    486486    grok.provides(IBatchProcessor)
    487487    grok.context(Interface)
    488     util_name = 'studycourseupdater'
     488    util_name = 'studycourseprocessor'
    489489    grok.name(util_name)
    490490
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_batching.py

    r16831 r16834  
    766766        self.assertTrue(
    767767            'INFO - system - '
    768             'StudentStudyCourse Processor (update only) - '
     768            'StudentStudyCourse Processor - '
    769769            'sample_transfer_data - K1000000 - updated: entry_mode=transferred, '
    770770            'certificate=CERT2, current_session=2009, current_level=300'
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r16828 r16834  
    16501650        modeselect = self.browser.getControl(name='mode')
    16511651        importerselect.getControl(
    1652             'StudentStudyCourse Processor (update only)',index=0).selected = True
    1653         modeselect.getControl(value='create').selected = True
    1654         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)
    16561656        self.browser.getControl('Proceed to step 3').click()
    16571657        self.assertTrue('Header fields OK' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.