Changeset 6922 for main/waeup.sirp/trunk


Ignore:
Timestamp:
22 Oct 2011, 06:47:23 (13 years ago)
Author:
Henrik Bettermann
Message:

Do not setup SessionConfiguration? object in StudentsFullSetup?. We need the setUp method also in customization packages and ISessionConfiguration will be customized there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py

    r6920 r6922  
    8181        # to access grok.getSite() and should get our new app then
    8282        setSite(app)
    83 
    84         # Set up SessionConfiguration object
    85         configuration = SessionConfiguration()
    86         configuration.academic_session = 2004
    87         configuration.fee_1 = 20000
    88         self.app['configuration'].addSessionConfiguration(configuration)
    8983
    9084        # Add student with subobjects
     
    654648
    655649    def test_manage_payments(self):
     650
     651        # Set up SessionConfiguration object
     652        configuration = SessionConfiguration()
     653        configuration.academic_session = 2004
     654        configuration.fee_1 = 20000
     655        self.app['configuration'].addSessionConfiguration(configuration)
     656
    656657        # Managers can add and remove online payment tickets
    657658        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
Note: See TracChangeset for help on using the changeset viewer.