Changeset 10834 for main/waeup.futminna/trunk/src/waeup
- Timestamp:
- 10 Dec 2013, 07:55:43 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/interswitch/tests.py
r10369 r10834 17 17 ## 18 18 import os 19 from datetime import datetime 19 20 from zope.component import getUtility, createObject 20 21 from zope.catalog.interfaces import ICatalog … … 244 245 def setUp(self): 245 246 super(InterswitchTestsApplicants, self).setUp() 247 configuration = SessionConfiguration() 248 configuration.academic_session = datetime.now().year - 2 249 self.app['configuration'].addSessionConfiguration(configuration) 246 250 # Create at least one FUTMinna faculty 247 251 self.app['faculties']['CPGS'] = Faculty(code='ABC') … … 258 262 self.applicant.applicant_id = u'pg_anything' 259 263 264 def test_interswitch_form(self): 260 265 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 261 266 self.browser.open(self.manage_path) … … 279 284 self.browser.contents) 280 285 self.payment_url = self.browser.url 281 282 283 def test_interswitch_form(self):284 285 286 # Manager can access InterswitchForm 286 287 self.browser.getLink("CollegePAY", index=0).click()
Note: See TracChangeset for help on using the changeset viewer.