Changeset 12097 for main/waeup.ikoba/trunk/src/waeup/ikoba/products/tests
- Timestamp:
- 30 Nov 2014, 20:49:22 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba/products/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/products/tests/sample_product_data.csv
r12078 r12097 1 product_id,title, application_category1 product_id,title,contract_category 2 2 ABC,ABC title,license 3 3 CDE,CDE title,license -
main/waeup.ikoba/trunk/src/waeup/ikoba/products/tests/test_batching.py
r12078 r12097 165 165 'INFO - system - Product Processor - sample_product_data - ' 166 166 'EFG - updated: product_id=EFG, title=EFG title, ' 167 ' application_category=license\n'167 'contract_category=license\n' 168 168 in logcontent) 169 169 failcontent = open(fail_file).read() -
main/waeup.ikoba/trunk/src/waeup/ikoba/products/tests/test_export.py
r12078 r12097 62 62 result = open(self.outfile, 'rb').read() 63 63 self.assertTrue( 64 ' application_category,product_id,title,users_with_local_roles\r\n'64 'contract_category,product_id,title,users_with_local_roles\r\n' 65 65 'license,LIC,Unnamed,"[{\'user_name\': u\'john\', \'local_role\': ' 66 66 'u\'johnsrole\'}]"\r\n' … … 75 75 result = open(self.outfile, 'rb').read() 76 76 self.assertTrue( 77 ' application_category,product_id,title,users_with_local_roles\r\n'77 'contract_category,product_id,title,users_with_local_roles\r\n' 78 78 'license,LIC,Unnamed,"[{\'user_name\': u\'john\', \'local_role\': ' 79 79 'u\'johnsrole\'}]"\r\n'
Note: See TracChangeset for help on using the changeset viewer.