Ignore:
Timestamp:
29 Dec 2014, 16:12:24 (10 years ago)
Author:
Henrik Bettermann
Message:

Define contract title in product. Customers must not be able to edit contract titles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/products/tests/test_export.py

    r12315 r12336  
    6262        result = open(self.outfile, 'rb').read()
    6363        self.assertTrue(
    64             'contract_category,options,product_id,title,users_with_local_roles\r\n'
    65             'license,"[(u\'Base Fee\', u\'800.6\', u\'usd\')]",LIC,Unnamed,'
     64            'contract_category,contract_title,options,'
     65            'product_id,title,users_with_local_roles\r\n'
     66            'license,,"[(u\'Base Fee\', u\'800.6\', u\'usd\')]",LIC,Unnamed,'
    6667            '"[{\'user_name\': u\'john\', \'local_role\': '
    6768            'u\'johnsrole\'}]"\r\n'
     
    7677        result = open(self.outfile, 'rb').read()
    7778        self.assertTrue(
    78             'contract_category,options,product_id,title,users_with_local_roles\r\n'
    79             'license,"[(u\'Base Fee\', u\'800.6\', u\'usd\')]",LIC,Unnamed,'
     79            'contract_category,contract_title,options,'
     80            'product_id,title,users_with_local_roles\r\n'
     81            'license,,"[(u\'Base Fee\', u\'800.6\', u\'usd\')]",LIC,Unnamed,'
    8082            '"[{\'user_name\': u\'john\', \'local_role\': '
    8183            'u\'johnsrole\'}]"\r\n'
Note: See TracChangeset for help on using the changeset viewer.