- Timestamp:
- 7 Mar 2015, 08:22:53 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.skeleton/trunk/src/ikobacustom/skeleton/products/tests/test_browser.py
r12489 r12685 54 54 result = open(self.outfile, 'rb').read() 55 55 self.assertEqual(result, 56 'contract_category,contract_title, options,'56 'contract_category,contract_title,description,options,' 57 57 'product_id,terms_and_conditions,title,valid_from,valid_to,' 58 58 'users_with_local_roles\r\n' 59 'sample,, [],SAM,,Unnamed,2015-12-04#,,[]\r\n')59 'sample,,,[],SAM,,Unnamed,2015-12-04#,,[]\r\n') 60 60 # We can import the same file. 61 61 processor = SkeletonProductProcessor() 62 62 result = processor.doImport( 63 63 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', 66 66 'users_with_local_roles'], 67 67 mode='create') … … 74 74 result = processor.doImport( 75 75 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', 78 78 'users_with_local_roles'], 79 79 mode='create') … … 84 84 result = processor.doImport( 85 85 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', 88 88 'users_with_local_roles'], 89 89 mode='update')
Note: See TracChangeset for help on using the changeset viewer.