Ignore:
Timestamp:
29 Apr 2012, 19:47:24 (13 years ago)
Author:
Henrik Bettermann
Message:

Remove entry_level attribute. The entry level is given by the start level of the study course admitted.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_batching.py

    r8291 r8311  
    153153        self.assertEqual(container.title, u'General Studies 2012/2013')
    154154        self.assertEqual(container.prefix, u'app')
    155         self.assertEqual(container.entry_level, 100)
    156155        self.assertEqual(container.year, 2012)
    157156        self.assertEqual(container.application_category, 'basic')
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py

    r8286 r8311  
    8686        applicantscontainer.prefix = 'app'
    8787        applicantscontainer.year = 2009
    88         applicantscontainer.entry_level = 100
    8988        applicantscontainer.application_category = 'basic'
    9089        applicantscontainer.mode = 'create'
     
    251250        self.browser.getControl(name="form.prefix").value = ['app']
    252251        self.browser.getControl(name="form.year").value = ['2010']
    253         self.browser.getControl(name="form.entry_level").value = ['100']
    254252        self.browser.getControl(name="form.mode").value = ['create']
    255253        self.browser.getControl(
     
    266264        self.browser.getControl(name="form.prefix").value = ['app']
    267265        self.browser.getControl(name="form.year").value = ['2010']
    268         self.browser.getControl(name="form.entry_level").value = ['100']
    269266        self.browser.getControl(name="form.mode").value = ['create']
    270267        self.browser.getControl(
     
    281278        self.browser.getControl(name="form.prefix").value = ['app']
    282279        self.browser.getControl(name="form.year").value = ['2010']
    283         self.browser.getControl(name="form.entry_level").value = ['100']
    284280        self.browser.getControl(name="form.mode").value = ['create']
    285281        #self.browser.getControl(name="form.ac_prefix").value = ['APP']
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py

    r8286 r8311  
    5353        container.prefix = list(ApplicationTypeSource()(container))[0]
    5454        container.year = 2012
    55         container.entry_level = 100
    5655        container.application_category = list(AppCatSource()(container))[0]
    5756        container.description = u'Some Description\nwith linebreak\n'
     
    7271        self.assertEqual(
    7372            result,
    74             'code,title,prefix,entry_level,year,application_category,'
     73            'code,title,prefix,year,application_category,'
    7574            'description,startdate,enddate,strict_deadline\r\n'
    7675
    77             'dp2012,General Studies 2012/13,app,100,2012,basic,'
     76            'dp2012,General Studies 2012/13,app,2012,basic,'
    7877            '"Some Description\nwith linebreak\n<<de>>man spriht deutsh",'
    7978            '2012-01-01 12:00:00+00:00,2012-01-31 23:00:00+00:00,1\r\n'
Note: See TracChangeset for help on using the changeset viewer.