[CMF-checkins] CVS: CMF/CMFCore/tests/base - utils.py:1.1.2.3

Chris Withers chrisw@nipltd.com
Fri, 15 Feb 2002 12:26:40 -0500


Update of /cvs-repository/CMF/CMFCore/tests/base
In directory cvs.zope.org:/tmp/cvs-serv8300/CMFCore/tests/base

Modified Files:
      Tag: ChrisW-refactor_tests-branch
	utils.py 
Log Message:
Done Discussions.

=== CMF/CMFCore/tests/base/utils.py 1.1.2.2 => 1.1.2.3 ===
         Verify that catalog has an object at path.
     """
+    if type( path ) is type( () ):
+        path = '/'.join(path)
     rids = map( lambda x: x.data_record_id_, catalog.searchResults() )
     for rid in rids:
         if catalog.getpath( rid ) == path: