Ignore:
Timestamp:
5 Mar 2015, 07:28:31 (10 years ago)
Author:
Henrik Bettermann
Message:

Extend contract workflow to integrate payment.

Prepare (empty) page to select payment method and finally create a payment object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/tests/test_export.py

    r12633 r12663  
    256256            result,
    257257            'class_name,comment,contract_category,contract_id,document_object,'
    258             'history,last_product_id,'
    259             'product_object,product_options,state,tc_dict,title,user_id,'
    260             'valid_from,valid_to\r\n'
    261 
    262             'SampleContract,,sample,CON1,,[],,,[],,{},,,,\r\n'
     258            'fee_based,history,last_product_id,'
     259            'product_object,product_options,state,tc_dict,title,'
     260            'user_id,valid_from,valid_to\r\n'
     261
     262            'SampleContract,,sample,CON1,,0,[],,,[],,{},,,,\r\n'
    263263            )
    264264        return
     
    273273        self.assertMatches(
    274274            'class_name,comment,contract_category,contract_id,document_object,'
    275             'history,last_product_id,'
    276             'product_object,product_options,state,tc_dict,title,user_id,'
    277             'valid_from,valid_to\r\n'
    278 
    279             'SampleContract,,sample,CON1,DOC1,[u\'2014-12-04 12:10:46 UTC - '
     275            'fee_based,history,last_product_id,'
     276            'product_object,product_options,state,tc_dict,title,'
     277            'user_id,valid_from,valid_to\r\n'
     278
     279            'SampleContract,,sample,CON1,DOC1,1,[u\'2014-12-04 12:10:46 UTC - '
    280280            'Contract created by system\'],,'
    281281            'SAM,"[(u\'Base Fee\', u\'800.6\', u\'USD\')]",'
     
    295295        self.assertMatches(
    296296            'class_name,comment,contract_category,contract_id,document_object,'
    297             'history,last_product_id,'
    298             'product_object,product_options,state,tc_dict,title,user_id,'
    299             'valid_from,valid_to\r\n'
    300 
    301             'SampleContract,,sample,CON1,DOC1,[u\'2014-12-04 12:10:46 UTC - '
     297            'fee_based,history,last_product_id,'
     298            'product_object,product_options,state,tc_dict,title,'
     299            'user_id,valid_from,valid_to\r\n'
     300
     301            'SampleContract,,sample,CON1,DOC1,1,[u\'2014-12-04 12:10:46 UTC - '
    302302            'Contract created by system\'],,'
    303303            'SAM,"[(u\'Base Fee\', u\'800.6\', u\'USD\')]",'
     
    317317        self.assertMatches(
    318318            'class_name,comment,contract_category,contract_id,document_object,'
    319             'history,last_product_id,'
    320             'product_object,product_options,state,tc_dict,title,user_id,'
    321             'valid_from,valid_to\r\n'
    322 
    323             'SampleContract,,sample,CON1,DOC1,[u\'2014-12-04 12:10:46 UTC - '
     319            'fee_based,history,last_product_id,'
     320            'product_object,product_options,state,tc_dict,title,'
     321            'user_id,valid_from,valid_to\r\n'
     322
     323            'SampleContract,,sample,CON1,DOC1,1,[u\'2014-12-04 12:10:46 UTC - '
    324324            'Contract created by system\'],,'
    325325            'SAM,"[(u\'Base Fee\', u\'800.6\', u\'USD\')]",'
Note: See TracChangeset for help on using the changeset viewer.