Ignore:
Timestamp:
30 Nov 2014, 20:49:22 (10 years ago)
Author:
Henrik Bettermann
Message:

The term 'application' should really not be used in Python-based portal software.

Replace 'application' by 'contract': batch 1

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_category
     1product_id,title,contract_category
    22ABC,ABC title,license
    33CDE,CDE title,license
  • main/waeup.ikoba/trunk/src/waeup/ikoba/products/tests/test_batching.py

    r12078 r12097  
    165165            'INFO - system - Product Processor - sample_product_data - '
    166166            'EFG - updated: product_id=EFG, title=EFG title, '
    167             'application_category=license\n'
     167            'contract_category=license\n'
    168168            in logcontent)
    169169        failcontent = open(fail_file).read()
  • main/waeup.ikoba/trunk/src/waeup/ikoba/products/tests/test_export.py

    r12078 r12097  
    6262        result = open(self.outfile, 'rb').read()
    6363        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'
    6565            'license,LIC,Unnamed,"[{\'user_name\': u\'john\', \'local_role\': '
    6666            'u\'johnsrole\'}]"\r\n'
     
    7575        result = open(self.outfile, 'rb').read()
    7676        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'
    7878            'license,LIC,Unnamed,"[{\'user_name\': u\'john\', \'local_role\': '
    7979            'u\'johnsrole\'}]"\r\n'
Note: See TracChangeset for help on using the changeset viewer.