- Timestamp:
- 29 Dec 2014, 06:52:30 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.skeleton/trunk/src/ikobacustom/skeleton/products/tests/test_browser.py
r12269 r12335 52 52 result = open(self.outfile, 'rb').read() 53 53 self.assertEqual(result, 54 'contract_category, product_id,title,users_with_local_roles\r\n'55 'license, LIC,Unnamed,[]\r\n')54 'contract_category,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','product_id','title','users_with_local_roles'], 60 ['contract_category','options,', 'product_id','title', 61 'users_with_local_roles'], 61 62 mode='create') 62 63 num, num_fail, finished_path, failed_path = result … … 68 69 result = processor.doImport( 69 70 self.outfile, 70 ['contract_category','product_id','title','users_with_local_roles'], 71 ['contract_category','options','product_id','title', 72 'users_with_local_roles'], 71 73 mode='create') 72 74 num, num_fail, finished_path, failed_path = result … … 76 78 result = processor.doImport( 77 79 self.outfile, 78 ['contract_category','product_id','title','users_with_local_roles'], 80 ['contract_category','options','product_id','title', 81 'users_with_local_roles'], 79 82 mode='update') 80 83 num, num_fail, finished_path, failed_path = result
Note: See TracChangeset for help on using the changeset viewer.