From cfa802f4e3201bac7a22777826b03b0d7ba6adf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 5 Aug 2008 07:40:25 +0000 Subject: [PATCH] remove commented out code git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22874 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testInvoice.py | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/product/ERP5/tests/testInvoice.py b/product/ERP5/tests/testInvoice.py index 37184d92a0..c48ac73f6c 100644 --- a/product/ERP5/tests/testInvoice.py +++ b/product/ERP5/tests/testInvoice.py @@ -142,30 +142,6 @@ class TestInvoiceMixin(TestPackingListMixin, 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. """ portal = self.getPortal() @@ -2498,6 +2474,7 @@ class TestInvoice(TestInvoiceMixin): self.assertTrue(cell_child_32.isMemberOf('size/Child/32')) + #class TestPurchaseInvoice(TestInvoice): # order_portal_type = 'Purchase Order' # order_line_portal_type = 'Purchase Order Line' -- 2.30.9