[CMF-checkins] CVS: CMF - test_Discussions.py:1.2
tseaver@digicool.com
tseaver@digicool.com
Mon, 4 Jun 2001 15:16:05 -0400 (EDT)
Update of /cvs-repository/CMF/CMFDefault/tests
In directory korak.digicool.com:/tmp/cvs-serv5438/CMFDefault/tests
Modified Files:
test_Discussions.py
Log Message:
- Fix acquisition stripping in PortalContent.objectItems().
--- Updated File test_Discussions.py in package CMF --
--- test_Discussions.py 2001/06/01 18:44:42 1.1
+++ test_Discussions.py 2001/06/04 19:16:04 1.2
@@ -65,7 +65,6 @@
get_transaction().abort()
def test_deletePropagation(self):
- # import pdb; pdb.set_trace()
portal_catalog = CatalogTool()
self.root._setObject('portal_catalog', portal_catalog)
catalog = self.root.portal_catalog
@@ -88,7 +87,7 @@
foo = talkback.getReplies()[0]
assert len(catalog) == 2
self.root._delObject('test')
- assert len(catalog) == 0
+ assert len(catalog) == 0, len(catalog)
def test_suite():