Changeset 17290


Ignore:
Timestamp:
16 Jan 2023, 20:39:07 (20 months ago)
Author:
Henrik Bettermann
Message:

Adjust to base package.

Location:
main/kofacustom.dspg/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.dspg/trunk/etc/site.zcml.in

    r15853 r17290  
    11<configure xmlns="http://namespaces.zope.org/zope"
     2           xmlns:browser="http://namespaces.zope.org/browser"
    23           xmlns:kofa="http://namespaces.waeup.org/kofa"
    34           i18n_domain="kofacustom.dspg">
     
    6667             principal="zope.manager" />
    6768   </configure>
     69
     70   <!-- session -->
     71   <browser:beakerSession
     72        key="waeup.kofa.session.id"
     73        secret="KofaRocks"
     74        timeout="3600"
     75        type="cookie"
     76        validate_key="thisMightBeChanged"
     77        />
     78       
    6879</configure>
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/ftesting.zcml

    r14716 r17290  
    11<configure
    22   xmlns="http://namespaces.zope.org/zope"
     3   xmlns:browser="http://namespaces.zope.org/browser"
    34   xmlns:kofa="http://namespaces.waeup.org/kofa"
    45   i18n_domain="kofacustom.dspg"
     
    6566  <grant role="zope.Manager" principal="zope.mgr" />
    6667
     68   <!-- session -->
     69   <browser:beakerSession
     70        key="waeup.kofa.session.id"
     71        secret="KofaRocks"
     72        timeout="3600"
     73        type="cookie"
     74        validate_key="thisMightBeChanged"
     75        />
     76       
    6777</configure>
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/tests/test_export.py

    r16562 r17290  
    103103        result = open(self.outfile, 'rb').read()
    104104        self.assertMatches(
    105             'ac,amount_auth,creation_date,gateway_amt,net_amt,p_category,p_combi,p_current,'
     105            'ac,amount_auth,creation_date,gateway_amt,net_amt,p_category,p_combi,p_currency,p_current,'
    106106            'p_id,p_item,p_level,p_option,p_session,p_state,payment_date,provider_amt,'
    107107            'r_amount_approved,r_card_num,r_code,r_company,r_desc,'
    108             'r_pay_reference,thirdparty_amt,student_id,state,'
     108            'r_pay_reference,r_payment_link,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,'
    112             '789,r-code,interswatch,,,,A111111,created,2012\r\n'
     112            '789,r-code,interswatch,,,,,A111111,created,2012\r\n'
    113113            % (curr_year-6, curr_year-6, curr_year-6), result
    114114            )
Note: See TracChangeset for help on using the changeset viewer.