Changeset 11181


Ignore:
Timestamp:
21 Feb 2014, 13:40:16 (11 years ago)
Author:
Henrik Bettermann
Message:

Fix test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.skeleton/branches/0/src/kofacustom/skeleton/interswitch/tests.py

    r10765 r11181  
    1717##
    1818import os
     19from datetime import datetime, date, timedelta
    1920from zope.component import createObject, getUtility
    2021from zope.catalog.interfaces import ICatalog
     
    172173    def setUp(self):
    173174        super(InterswitchTestsApplicants, self).setUp()
     175        configuration = SessionConfiguration()
     176        configuration.academic_session = datetime.now().year - 2
     177        self.app['configuration'].addSessionConfiguration(configuration)
     178        self.configuration = configuration
    174179        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    175180        self.browser.open(self.manage_path)
Note: See TracChangeset for help on using the changeset viewer.