Commit 0c9cdd8c authored by Łukasz Nowak's avatar Łukasz Nowak

- typo + whitespace removal


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27962 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 84b90258
...@@ -77,7 +77,7 @@ class TestAcknowledgementTool(ERP5TypeTestCase): ...@@ -77,7 +77,7 @@ class TestAcknowledgementTool(ERP5TypeTestCase):
acknowledgement_list = portal.portal_acknowledgements\ acknowledgement_list = portal.portal_acknowledgements\
.getUnreadAcknowledgementList( .getUnreadAcknowledgementList(
**acknowledgement_tool_kw) **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()] if x.getCausality() == event.getRelativeUrl()]
return event_acknowledgement_list return event_acknowledgement_list
...@@ -93,7 +93,7 @@ class TestAcknowledgementTool(ERP5TypeTestCase): ...@@ -93,7 +93,7 @@ class TestAcknowledgementTool(ERP5TypeTestCase):
acknowledgement = portal.portal_acknowledgements.acknowledge( acknowledgement = portal.portal_acknowledgements.acknowledge(
path=event.getRelativeUrl(), path=event.getRelativeUrl(),
user_name='seb') 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 # the event
self.assertEqual(acknowledgement.getPortalType(), 'Acknowledgement') self.assertEqual(acknowledgement.getPortalType(), 'Acknowledgement')
self.assertEqual(acknowledgement.getTextContent(), "A Nice Message") self.assertEqual(acknowledgement.getTextContent(), "A Nice Message")
......
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