[Erp5-report] r22874 - /erp5/trunk/products/ERP5/tests/testInvoice.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Aug 5 09:40:26 CEST 2008


Author: jerome
Date: Tue Aug  5 09:40:25 2008
New Revision: 22874

URL: http://svn.erp5.org?rev=22874&view=rev
Log:
remove commented out code

Modified:
    erp5/trunk/products/ERP5/tests/testInvoice.py

Modified: erp5/trunk/products/ERP5/tests/testInvoice.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testInvoice.py?rev=22874&r1=22873&r2=22874&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testInvoice.py (original)
+++ erp5/trunk/products/ERP5/tests/testInvoice.py Tue Aug  5 09:40:25 2008
@@ -141,30 +141,6 @@
     self.assertEquals(client2.getRegionValue(), None)
     client2.validate()
     sequence.edit(client2=client2)
-
-#  def stepCreateCurrency(self, sequence, **kw) :
-#    """Create a default currency. """
-#    currency_module = self.getCurrencyModule()
-#    if len(currency_module.objectValues(id='EUR'))==0:
-#      currency = self.getCurrencyModule().newContent(
-#          portal_type='Currency',
-#          id="EUR",
-#          base_unit_quantity=0.01,
-#          )
-#    else:
-#      currency = currency_module.objectValues(id='EUR')[0]
-#    sequence.edit(currency=currency)
-#
-#  def stepSetOrderPriceCurrency(self, sequence, **kw) :
-#    """Set the price currency of the order.
-#
-#    This step is not necessary.
-#    TODO : - include a test without this step.
-#           - include a test with this step late.
-#    """
-#    currency = sequence.get('currency')
-#    order = sequence.get('order')
-#    order.setPriceCurrency(currency.getRelativeUrl())
 
   def stepCreateSaleInvoiceTransactionRule(self, sequence, **kw) :
     """Create the rule for accounting. """
@@ -2498,6 +2474,7 @@
     self.assertTrue(cell_child_32.isMemberOf('size/Child/32'))
 
 
+
 #class TestPurchaseInvoice(TestInvoice):
 #  order_portal_type = 'Purchase Order'
 #  order_line_portal_type = 'Purchase Order Line'




More information about the Erp5-report mailing list