[Erp5-report] r45135 leonardo - /erp5/trunk/products/ERP5/tests/testInvoice.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Apr 6 16:28:12 CEST 2011
Author: leonardo
Date: Wed Apr 6 16:28:11 2011
New Revision: 45135
URL: http://svn.erp5.org?rev=45135&view=rev
Log:
TestInvoiceMixin overrides afterSetup of TestOrderMixin, but forgot to set some categories used by the latter
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=45135&r1=45134&r2=45135&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testInvoice.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testInvoice.py [utf8] Wed Apr 6 16:28:11 2011
@@ -86,6 +86,8 @@ class TestInvoiceMixin(TestPackingListMi
@UnrestrictedMethod
def createCategories(self):
"""Create the categories for our test. """
+ # pull in the TestOrderMixin categories first
+ super(TestInvoiceMixin, self).createCategories()
for cat_string in self.getNeededCategoryList() :
base_cat = cat_string.split("/")[0]
path = self.getPortal().portal_categories[base_cat]
More information about the Erp5-report
mailing list