Ignore:
Timestamp:
7 Mar 2015, 08:22:53 (10 years ago)
Author:
Henrik Bettermann
Message:

Adjust tests.

File:
1 edited

Legend:

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

    r12489 r12685  
    5454        result = open(self.outfile, 'rb').read()
    5555        self.assertEqual(result,
    56             'contract_category,contract_title,options,'
     56            'contract_category,contract_title,description,options,'
    5757            'product_id,terms_and_conditions,title,valid_from,valid_to,'
    5858            'users_with_local_roles\r\n'
    59             'sample,,[],SAM,,Unnamed,2015-12-04#,,[]\r\n')
     59            'sample,,,[],SAM,,Unnamed,2015-12-04#,,[]\r\n')
    6060        # We can import the same file.
    6161        processor = SkeletonProductProcessor()
    6262        result = processor.doImport(
    6363            self.outfile,
    64             ['contract_category','contract_title', 'options,', 'product_id',
    65             'terms_and_conditions','title','valid_from','valid_to',
     64            ['contract_category','contract_title', 'description', 'options',
     65            'product_id', 'terms_and_conditions','title','valid_from','valid_to',
    6666            'users_with_local_roles'],
    6767            mode='create')
     
    7474        result = processor.doImport(
    7575            self.outfile,
    76             ['contract_category','contract_title', 'options,', 'product_id',
    77             'terms_and_conditions','title','valid_from','valid_to',
     76            ['contract_category','contract_title', 'description', 'options',
     77            'product_id', 'terms_and_conditions','title','valid_from','valid_to',
    7878            'users_with_local_roles'],
    7979            mode='create')
     
    8484        result = processor.doImport(
    8585            self.outfile,
    86             ['contract_category','contract_title', 'options,', 'product_id',
    87             'terms_and_conditions','title','valid_from','valid_to',
     86            ['contract_category','contract_title', 'description', 'options',
     87            'product_id', 'terms_and_conditions','title','valid_from','valid_to',
    8888            'users_with_local_roles'],
    8989            mode='update')
Note: See TracChangeset for help on using the changeset viewer.