[CMF-checkins] CVS: Products/CMFCore/tests - test_CMFCatalogAware.py:1.1.2.2

Stefan H. Holek stefan at epy.co.at
Fri Apr 22 12:29:27 EDT 2005


Update of /cvs-repository/Products/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv5290

Modified Files:
      Tag: CMF-1_4-branch
	test_CMFCatalogAware.py 
Log Message:
Allow this test to work with Zope 2.6 + Python 2.1.


=== Products/CMFCore/tests/test_CMFCatalogAware.py 1.1.2.1 => 1.1.2.2 ===
--- Products/CMFCore/tests/test_CMFCatalogAware.py:1.1.2.1	Thu Apr 14 15:53:07 2005
+++ Products/CMFCore/tests/test_CMFCatalogAware.py	Fri Apr 22 12:29:25 2005
@@ -80,9 +80,9 @@
 class TheClass(CMFCatalogAware, Folder):
     def __init__(self, id):
         self._setId(id)
-        self.notified = False
+        self.notified = 0
     def notifyModified(self):
-        self.notified = True
+        self.notified = 1
 
 
 class CMFCatalogAwareTests(unittest.TestCase):



More information about the CMF-checkins mailing list