From b1cf1352c35a664e182c844e6657ad099e4e69fc Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Thu, 27 Nov 2008 16:04:39 +0000
Subject: [PATCH] Fix condition.

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

diff --git a/product/ERP5/tests/testBusinessTemplate.py b/product/ERP5/tests/testBusinessTemplate.py
index 48e03d755b..164aa46955 100644
--- a/product/ERP5/tests/testBusinessTemplate.py
+++ b/product/ERP5/tests/testBusinessTemplate.py
@@ -5237,7 +5237,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
     """
     Check that a skin selection has been removed.
     """
-    self.assertTrue('Foo' in ps.getSkinSelections())
+    self.assertTrue('Foo' not in self.portal.portal_skins.getSkinSelections())
  
 
 def test_suite():
-- 
2.30.9