Commit 09288a27 authored by Jérome Perrin's avatar Jérome Perrin

using ZopeTestCase's user_name has side effect, because this user already have

some roles.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18878 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d1060cb7
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
import unittest import unittest
from Testing import ZopeTestCase
from DateTime import DateTime from DateTime import DateTime
from Products.CMFCore.utils import _checkPermission from Products.CMFCore.utils import _checkPermission
...@@ -109,7 +108,7 @@ class AccountingTestCase(ERP5TypeTestCase): ...@@ -109,7 +108,7 @@ class AccountingTestCase(ERP5TypeTestCase):
rather than modifying default documents. rather than modifying default documents.
""" """
username = ZopeTestCase.user_name username = 'username'
@reindex @reindex
def _makeOne(self, portal_type='Accounting Transaction', lines=None, def _makeOne(self, portal_type='Accounting Transaction', lines=None,
......
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