Ignore:
Timestamp:
29 Dec 2014, 06:52:30 (10 years ago)
Author:
Henrik Bettermann
Message:

Adjust to changes made in base package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/ikobacustom.skeleton/trunk/src/ikobacustom/skeleton/customers/tests/test_browser.py

    r12292 r12335  
    157157        self.assertMatches(result,
    158158            'class_name,contract_category,contract_id,document_object,'
    159             'history,last_product_id,product_object,state,title,user_id\r\n'
     159            'history,last_product_id,product_object,product_options,'
     160            'state,title,user_id\r\n'
    160161            'SkeletonContract,sample,%s,,'
    161162            '[u\'2014-12-21 22:26:00 WAT - Contract created by system\']'
    162             ',,,created,My first contract,K1000000\r\n'
     163            ',,,[],created,My first contract,K1000000\r\n'
    163164            % self.contract.contract_id)
    164165        # We can reimport the file if we change the header (user_id -> customer_id)
     
    166167        open(self.outfile, 'wb').write(
    167168            'class_name,contract_category,contract_id,document_object,'
    168             'history,last_product_id,product_object,state,title,customer_id\r\n'
     169            'history,last_product_id,product_object,product_options,'
     170            'state,title,user_id\r\n'
    169171            'SkeletonContract,sample,%s,,'
    170172            '[u\'2014-12-21 22:26:00 WAT - Contract created by system\']'
    171             ',,,created,My first contract,K1000000\r\n'
     173            ',,,[],created,My first contract,K1000000\r\n'
    172174            % self.contract.contract_id)
    173175        result = processor.doImport(
    174176            self.outfile,
    175177            ['class_name','contract_category','contract_id','document_object',
    176             'history','last_product_id','product_object','state','title','customer_id'],
     178            'history','last_product_id','product_object','product_options',
     179            'state','title','customer_id'],
    177180            mode='create')
    178181        num, num_fail, finished_path, failed_path = result
     
    184187            self.outfile,
    185188            ['class_name','contract_category','contract_id','document_object',
    186             'history','last_product_id','product_object','state','title','customer_id'],
     189            'history','last_product_id','product_object','product_options',
     190            'state','title','customer_id'],
    187191            mode='create')
    188192        num_succ, num_fail, finished_path, failed_path = result
     
    192196            self.outfile,
    193197            ['class_name','contract_category','contract_id','document_object',
    194             'history','last_product_id','product_object','state','title','customer_id'],
     198            'history','last_product_id','product_object','product_options',
     199            'state','title','customer_id'],
    195200            mode='update')
    196201        num_succ, num_fail, finished_path, failed_path = result
Note: See TracChangeset for help on using the changeset viewer.