Ignore:
Timestamp:
30 Dec 2014, 10:19:47 (10 years ago)
Author:
Henrik Bettermann
Message:

Fix currency keys.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba/products/tests
Files:
4 edited

Legend:

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

    r12327 r12342  
    8686        options.title = u'Base Fee'
    8787        options.fee = Decimal('800.6')
    88         options.currency = 'usd'
     88        options.currency = 'USD'
    8989        product.options = [options,]
    9090        self.app['products'][product.product_id] = self.product = product
  • main/waeup.ikoba/trunk/src/waeup/ikoba/products/tests/test_browser.py

    r12327 r12342  
    221221        prodoptions.title = u'My option'
    222222        prodoptions.fee = Decimal('99.9')
    223         prodoptions.currency = 'usd'
     223        prodoptions.currency = 'USD'
    224224        self.product.options = [prodoptions,]
    225225        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
  • main/waeup.ikoba/trunk/src/waeup/ikoba/products/tests/test_export.py

    r12336 r12342  
    6464            'contract_category,contract_title,options,'
    6565            'product_id,title,users_with_local_roles\r\n'
    66             'license,,"[(u\'Base Fee\', u\'800.6\', u\'usd\')]",LIC,Unnamed,'
     66            'license,,"[(u\'Base Fee\', u\'800.6\', u\'USD\')]",LIC,Unnamed,'
    6767            '"[{\'user_name\': u\'john\', \'local_role\': '
    6868            'u\'johnsrole\'}]"\r\n'
     
    7979            'contract_category,contract_title,options,'
    8080            'product_id,title,users_with_local_roles\r\n'
    81             'license,,"[(u\'Base Fee\', u\'800.6\', u\'usd\')]",LIC,Unnamed,'
     81            'license,,"[(u\'Base Fee\', u\'800.6\', u\'USD\')]",LIC,Unnamed,'
    8282            '"[{\'user_name\': u\'john\', \'local_role\': '
    8383            'u\'johnsrole\'}]"\r\n'
  • main/waeup.ikoba/trunk/src/waeup/ikoba/products/tests/test_productoptions.py

    r12331 r12342  
    1717        self.valid_title = u'Option 1'
    1818        self.valid_fee = Decimal(55.5)
    19         self.valid_currency = 'usd'
     19        self.valid_currency = 'USD'
    2020        return
    2121
Note: See TracChangeset for help on using the changeset viewer.