- Timestamp:
- 31 Dec 2014, 16:16:32 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.skeleton/trunk/src/ikobacustom/skeleton/products/tests/test_browser.py
r12335 r12354 52 52 result = open(self.outfile, 'rb').read() 53 53 self.assertEqual(result, 54 'contract_category, options,product_id,title,users_with_local_roles\r\n'55 'license, [],LIC,Unnamed,[]\r\n')54 'contract_category,contract_title,options,product_id,title,users_with_local_roles\r\n' 55 'license,,[],LIC,Unnamed,[]\r\n') 56 56 # We can import the same file. 57 57 processor = SkeletonProductProcessor() 58 58 result = processor.doImport( 59 59 self.outfile, 60 ['contract_category',' options,', 'product_id','title',61 ' users_with_local_roles'],60 ['contract_category','contract_title', 'options,', 'product_id', 61 'title','users_with_local_roles'], 62 62 mode='create') 63 63 num, num_fail, finished_path, failed_path = result … … 69 69 result = processor.doImport( 70 70 self.outfile, 71 ['contract_category',' options','product_id','title',72 ' users_with_local_roles'],71 ['contract_category','contract_title', 'options,', 'product_id', 72 'title','users_with_local_roles'], 73 73 mode='create') 74 74 num, num_fail, finished_path, failed_path = result … … 78 78 result = processor.doImport( 79 79 self.outfile, 80 ['contract_category',' options','product_id','title',81 ' users_with_local_roles'],80 ['contract_category','contract_title', 'options,', 'product_id', 81 'title','users_with_local_roles'], 82 82 mode='update') 83 83 num, num_fail, finished_path, failed_path = result
Note: See TracChangeset for help on using the changeset viewer.