From 2badac8531ab4c72d17ac1d011c583af0357cce4 Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Wed, 30 Apr 2008 13:18:59 +0000
Subject: [PATCH] Specify portal type explicitly.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20856 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testNotificationTool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/tests/testNotificationTool.py b/product/ERP5/tests/testNotificationTool.py
index f747fecf49..fd5b6b835c 100644
--- a/product/ERP5/tests/testNotificationTool.py
+++ b/product/ERP5/tests/testNotificationTool.py
@@ -441,7 +441,7 @@ class TestNotificationTool(ERP5TypeTestCase):
     """
     Check that notification is send when recipient is a Person
     """
-    person = self.portal.portal_catalog(reference='userA')[0]
+    person = self.portal.portal_catalog(reference='userA', portal_type='Person')[0]
     self.portal.portal_notifications.sendMessage(
         recipient=person.getObject(), subject='Subject', message='Message')
     last_message = self.portal.MailHost._last_message
-- 
2.30.9