[Erp5-report] r7298 - /erp5/trunk/products/ERP5/tests/testInvoice.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue May 16 17:31:54 CEST 2006
Author: jerome
Date: Tue May 16 17:31:50 2006
New Revision: 7298
URL: http://svn.erp5.org?rev=7298&view=rev
Log:
run tests with all roles.
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=7298&r1=7297&r2=7298&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testInvoice.py (original)
+++ erp5/trunk/products/ERP5/tests/testInvoice.py Tue May 16 17:31:50 2006
@@ -82,12 +82,6 @@
uf._doAddUser('alex', '', ['Manager', 'Assignee', 'Assignor',
'Associate', 'Auditor', 'Author'], [])
user = uf.getUserById('alex').__of__(uf)
- newSecurityManager(None, user)
-
- def stepLoginAsAssignee(self, sequence=None, **kw):
- uf = self.getPortal().acl_users
- uf._doAddUser('assignee', '', ['Assignee', 'Author' ], [])
- user = uf.getUserById('assignee').__of__(uf)
newSecurityManager(None, user)
def createCategories(self):
@@ -660,7 +654,6 @@
# default sequence for one line of not varianted resource.
PACKING_LIST_DEFAULT_SEQUENCE = """
stepCreateSaleInvoiceTransactionRule
- stepLoginAsAssignee
stepCreateEntities
stepCreateCurrency
stepCreateOrder
@@ -723,7 +716,6 @@
# default sequence for one line of not varianted resource.
TWO_PACKING_LIST_DEFAULT_SEQUENCE = """
stepCreateSaleInvoiceTransactionRule
- stepLoginAsAssignee
stepCreateEntities
stepCreateCurrency
stepCreateOrder
More information about the Erp5-report
mailing list