From 25bb93d0de9e2a3a253425ad05e5f5e5461d2304 Mon Sep 17 00:00:00 2001
From: Nicolas Dumazet <nicolas.dumazet@nexedi.com>
Date: Fri, 24 Dec 2010 02:28:15 +0000
Subject: [PATCH] ignore non-filesystem propertysheets

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

diff --git a/product/ERP5Type/tests/testDynamicClassGeneration.py b/product/ERP5Type/tests/testDynamicClassGeneration.py
index f2fe593661..35720b9667 100644
--- a/product/ERP5Type/tests/testDynamicClassGeneration.py
+++ b/product/ERP5Type/tests/testDynamicClassGeneration.py
@@ -1186,7 +1186,7 @@ class TestZodbImportFilesystemPropertySheet(ERP5TypeTestCase):
     from Products.ERP5Type import PropertySheet
     # Get all the property sheets defined on the filesystem
     for name, klass in PropertySheet.__dict__.iteritems():
-      if name[0] == '_':
+      if name[0] == '_' or isinstance(klass, basestring):
         continue
       filesystem_property_sheet = klass
       property_sheet_name = name
-- 
2.30.9