Ignore:
Timestamp:
22 Feb 2014, 19:22:03 (11 years ago)
Author:
uli
Message:

Merge changes from 0 branch back into trunk.

Location:
main/kofacustom.skeleton/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.skeleton/trunk

  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/interswitch/tests.py

    r10765 r11271  
    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.