Ignore:
Timestamp:
8 May 2012, 07:31:19 (13 years ago)
Author:
Henrik Bettermann
Message:

Fix test.

File:
1 edited

Legend:

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

    r8314 r8384  
    2222from hurry.workflow.interfaces import IWorkflowInfo, IWorkflowState
    2323from zope.component import getUtility
     24from zope.i18n import translate
    2425from waeup.kofa.testing import FunctionalLayer
    2526from waeup.kofa.interfaces import IExtFileStore, IFileStoreNameChooser
     
    6263        (success, msg) = self.applicant.createStudent()
    6364        self.assertTrue('created' in msg)
    64         student_id = msg.split()[1]
     65        student_id = translate(msg, 'waeup.kofa').split()[1]
    6566        # View student container just created
    6667        student = self.app['students'][student_id]
Note: See TracChangeset for help on using the changeset viewer.