From 0c9cdd8cf15134d825984a7d0913d2c16eee4b2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Mon, 6 Jul 2009 09:14:38 +0000 Subject: [PATCH] - typo + whitespace removal git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27962 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testAcknowledgementTool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5/tests/testAcknowledgementTool.py b/product/ERP5/tests/testAcknowledgementTool.py index 29ac0a4b23..b4342057cb 100644 --- a/product/ERP5/tests/testAcknowledgementTool.py +++ b/product/ERP5/tests/testAcknowledgementTool.py @@ -77,7 +77,7 @@ class TestAcknowledgementTool(ERP5TypeTestCase): acknowledgement_list = portal.portal_acknowledgements\ .getUnreadAcknowledgementList( **acknowledgement_tool_kw) - event_acknowledgement_list = [x for x in acknowledgement_list + event_acknowledgement_list = [x for x in acknowledgement_list if x.getCausality() == event.getRelativeUrl()] return event_acknowledgement_list @@ -93,7 +93,7 @@ class TestAcknowledgementTool(ERP5TypeTestCase): acknowledgement = portal.portal_acknowledgements.acknowledge( path=event.getRelativeUrl(), user_name='seb') - # Make sure that we have a new acknowledge document wich is a proxy of + # Make sure that we have a new acknowledge document which is a proxy of # the event self.assertEqual(acknowledgement.getPortalType(), 'Acknowledgement') self.assertEqual(acknowledgement.getTextContent(), "A Nice Message") -- 2.30.9