Ignore:
Timestamp:
2 Jun 2012, 11:30:59 (13 years ago)
Author:
Henrik Bettermann
Message:

Improve test.

File:
1 edited

Legend:

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

    r8591 r8602  
    380380            {'not admitted': 0, 'started': 0, 'created': 0,
    381381            'admitted': 0, 'submitted': 0, 'initialized': 1, 'paid': 0})
     382        self.assertEqual(self.applicantscontainer.statistics[1],
     383            {u'fac1': 0})
     384        IWorkflowState(self.applicant).setState('submitted')
     385        self.assertEqual(self.applicantscontainer.statistics[0],
     386            {'not admitted': 0, 'started': 0, 'created': 0,
     387            'admitted': 0, 'submitted': 1, 'initialized': 0, 'paid': 0})
    382388        self.assertEqual(self.applicantscontainer.statistics[1],
    383389            {u'fac1': 1})
Note: See TracChangeset for help on using the changeset viewer.