From 09288a27c735a4e2ea5c8e87d8acd10da034ccdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 28 Jan 2008 09:26:17 +0000 Subject: [PATCH] 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 --- product/ERP5/tests/testAccounting.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product/ERP5/tests/testAccounting.py b/product/ERP5/tests/testAccounting.py index c9ed142f31..b6975de481 100644 --- a/product/ERP5/tests/testAccounting.py +++ b/product/ERP5/tests/testAccounting.py @@ -32,7 +32,6 @@ import unittest -from Testing import ZopeTestCase from DateTime import DateTime from Products.CMFCore.utils import _checkPermission @@ -109,7 +108,7 @@ class AccountingTestCase(ERP5TypeTestCase): rather than modifying default documents. """ - username = ZopeTestCase.user_name + username = 'username' @reindex def _makeOne(self, portal_type='Accounting Transaction', lines=None, -- 2.30.9