Commit 0d5aad0d authored by Jérome Perrin's avatar Jérome Perrin

run tests with all roles.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7298 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 749dc420
......@@ -84,12 +84,6 @@ class TestInvoice(TestPackingListMixin,
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):
"""Create the categories for our test. """
TestPackingListMixin.createCategories(self)
......@@ -660,7 +654,6 @@ class TestInvoice(TestPackingListMixin,
# default sequence for one line of not varianted resource.
PACKING_LIST_DEFAULT_SEQUENCE = """
stepCreateSaleInvoiceTransactionRule
stepLoginAsAssignee
stepCreateEntities
stepCreateCurrency
stepCreateOrder
......@@ -723,7 +716,6 @@ class TestInvoice(TestPackingListMixin,
# default sequence for one line of not varianted resource.
TWO_PACKING_LIST_DEFAULT_SEQUENCE = """
stepCreateSaleInvoiceTransactionRule
stepLoginAsAssignee
stepCreateEntities
stepCreateCurrency
stepCreateOrder
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment