Ignore:
Timestamp:
19 Nov 2019, 20:31:30 (5 years ago)
Author:
Henrik Bettermann
Message:

Adjust to changes in base packages.

Location:
main/waeup.uniben/trunk/src/waeup/uniben/students/tests
Files:
2 edited

Legend:

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

    r15666 r15828  
    321321        self.assertMatches('...Amount Authorized...',
    322322                           self.browser.contents)
    323         # Managers can open payment slip
    324         self.browser.getLink("Download payment slip").click()
    325         self.assertEqual(self.browser.headers['Status'], '200 Ok')
    326         self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
     323        # Managers can open payment slip because we did not proceed to
     324        # any payment gateway
     325        self.assertFalse('Download payment slip' in self.browser.contents)
    327326        # Set ticket paid
    328327        ticket = self.student['payments'].items()[0][1]
  • main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_export.py

    r15666 r15828  
    103103        result = open(self.outfile, 'rb').read()
    104104        self.assertMatches(
    105             'ac,amount_auth,creation_date,gateway_amt,p_category,p_combi,p_current,'
     105            'ac,amount_auth,creation_date,gateway_amt,net_amt,p_category,p_combi,p_current,'
    106106            'p_id,p_item,p_level,p_session,p_state,payment_date,provider_amt,'
    107107            'r_amount_approved,r_card_num,r_code,r_company,r_desc,'
    108108            'r_pay_reference,rebate_amount,staff_rebate,thirdparty_amt,student_id,state,'
    109109            'current_session\r\n'
    110             '666,12.12,%s-04-01 13:12:01#,,schoolfee,[],1,my-id,p-item,'
     110            '666,12.12,%s-04-01 13:12:01#,,,schoolfee,[],1,my-id,p-item,'
    111111            '100,%s,paid,%s-04-01 14:12:01#,,12.12,'
    112112            '789,r-code,interswatch,,,,,,A111111,created,2012\r\n'
Note: See TracChangeset for help on using the changeset viewer.