Ignore:
Timestamp:
1 Jun 2012, 11:25:22 (13 years ago)
Author:
Henrik Bettermann
Message:

Extend applicants statistics.

File:
1 edited

Legend:

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

    r8590 r8591  
    131131        # because managers are allowed to edit this required field
    132132        self.applicant.reg_number = u'1234'
     133        self.applicant.course1 = certificate
    133134        app['applicants']['app2009'].addApplicant(self.applicant)
    134135        IUserAccount(
     
    376377        self.assertTrue('<td>initialized</td>' in self.browser.contents)
    377378        self.assertTrue('<td>1</td>' in self.browser.contents)
    378         self.assertEqual(self.applicantscontainer.statistics,
     379        self.assertEqual(self.applicantscontainer.statistics[0],
    379380            {'not admitted': 0, 'started': 0, 'created': 0,
    380381            'admitted': 0, 'submitted': 0, 'initialized': 1, 'paid': 0})
     382        self.assertEqual(self.applicantscontainer.statistics[1],
     383            {u'fac1': 1})
    381384        return
    382385
Note: See TracChangeset for help on using the changeset viewer.