From b50582c2c2c06e051d7d8a12252eebe0d9fdda15 Mon Sep 17 00:00:00 2001
From: Yusuke Muraoka <yusuke@nexedi.com>
Date: Fri, 26 Feb 2010 10:52:19 +0000
Subject: [PATCH] add un-catalog check

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33143 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testContentTranslation.py | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/tests/testContentTranslation.py b/product/ERP5/tests/testContentTranslation.py
index b812e311af..42d7d55f51 100644
--- a/product/ERP5/tests/testContentTranslation.py
+++ b/product/ERP5/tests/testContentTranslation.py
@@ -104,7 +104,15 @@ class TestContentTranslation(ERP5TypeTestCase):
 
     result3 = portal.portal_catalog(content_translation_title='友介')
     self.assertEquals(len(result3), 0)
-    
+
+    # un-catalog
+    portal.person_module.manage_delObjects(person3.getId())
+    transaction.commit()
+    self.tic()
+
+    result4 = portal.portal_catalog(content_translation_title='村岡')
+    self.assertEquals(len(result4), 0)
+ 
   def testContentTranslation(self):
     """
     Make sure that translatable properties can have content translation into
-- 
2.30.9