Changeset 15718 for main


Ignore:
Timestamp:
29 Oct 2019, 13:13:31 (5 years ago)
Author:
Henrik Bettermann
Message:

Adjust to base package.

Location:
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/interswitch/tests.py

    r15301 r15718  
    9797            '<span>40000.0</span>' in self.browser.contents)
    9898        self.payment_url = self.browser.url
    99         self.browser.getLink("CollegePAY", index=0).click()
     99        self.browser.getLink("Pay via Interswitch", index=0).click()
    100100        self.assertTrue('<input type="hidden" name="pay_item_id" value="101" />' in
    101101                           self.browser.contents)
     
    119119            '<span>3456.0</span>' in self.browser.contents)
    120120        self.payment_url = self.browser.url
    121         self.browser.getLink("CollegePAY", index=0).click()
     121        self.browser.getLink("Pay via Interswitch", index=0).click()
    122122        self.assertTrue('<input type="hidden" name="pay_item_id" value="101" />' in
    123123                           self.browser.contents)
     
    139139        self.student['payments']['xyz'] = acc_payment
    140140        self.browser.open(self.payments_path + '/xyz')
    141         self.browser.getLink("CollegePAY", index=0).click()
     141        self.browser.getLink("Pay via Interswitch", index=0).click()
    142142        self.assertMatches('...<input type="hidden" name="pay_item_id" value="101" />...',
    143143                           self.browser.contents)
     
    151151        acc_payment.creation_date -= delta
    152152        self.browser.open(self.payments_path + '/xyz')
    153         self.browser.getLink("CollegePAY", index=0).click()
     153        self.browser.getLink("Pay via Interswitch", index=0).click()
    154154        self.assertMatches(
    155155            '...This payment ticket is too old. Please create a new ticket...',
     
    158158        acc_payment.creation_date += delta
    159159        self.browser.open(self.payments_path + '/xyz')
    160         self.browser.getLink("CollegePAY", index=0).click()
     160        self.browser.getLink("Pay via Interswitch", index=0).click()
    161161        self.assertMatches('...Total Amount Authorized:...',
    162162                           self.browser.contents)
     
    277277    def test_interswitch_form(self):
    278278        # Manager can access InterswitchForm
    279         self.browser.getLink("CollegePAY", index=0).click()
     279        self.browser.getLink("Pay via Interswitch", index=0).click()
    280280        self.assertMatches('...Total Amount Authorized:...',
    281281                           self.browser.contents)
     
    286286        self.applicant.values()[0].creation_date -= delta
    287287        self.browser.open(self.payment_url)
    288         self.browser.getLink("CollegePAY", index=0).click()
     288        self.browser.getLink("Pay via Interswitch", index=0).click()
    289289        self.assertMatches(
    290290            '...This payment ticket is too old. Please create a new ticket...',
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/browser.py

    r15187 r15718  
    2929    StudentBasePDFFormPage, ExportPDFCourseRegistrationSlip,
    3030    CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage,
    31     BedTicketAddPage, ExportPDFTranscriptSlip,
     31    ExportPDFTranscriptSlip,
    3232    msave, emit_lock_message)
    3333from waeup.kofa.students.interfaces import (
     
    4141    NigeriaExportPDFPaymentSlip,
    4242    NigeriaExportPDFClearanceSlip,
     43    NigeriaBedTicketAddPage,
    4344    )
    4445from kofacustom.edopoly.students.interfaces import (
     
    4748from kofacustom.edopoly.interfaces import MessageFactory as _
    4849
    49 class CustomBedTicketAddPage(BedTicketAddPage):
     50class CustomBedTicketAddPage(NigeriaBedTicketAddPage):
    5051    with_ac = False
    5152
Note: See TracChangeset for help on using the changeset viewer.