Ignore:
Timestamp:
10 Dec 2013, 09:08:34 (11 years ago)
Author:
Henrik Bettermann
Message:

Adjust test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py

    r10736 r10837  
    1818import os
    1919import grok
     20from datetime import datetime
    2021from hurry.workflow.interfaces import IWorkflowState
    2122from zope.component import createObject, getUtility
     
    442443    def setUp(self):
    443444        super(InterswitchTestsApplicants, self).setUp()
     445        configuration = SessionConfiguration()
     446        configuration.academic_session = datetime.now().year - 2
     447        self.app['configuration'].addSessionConfiguration(configuration)
    444448        # Create at least one Kwarapoly faculty
    445449        self.app['faculties']['CPGS'] = Faculty(code='CPGS')
Note: See TracChangeset for help on using the changeset viewer.