[CMF-checkins] CVS: CMF/CMFUid/tests - test_uidhandling.py:1.3

Grégoire Weber zope.org at incept.ch
Tue Jul 20 23:11:19 EDT 2004


Update of /cvs-repository/CMF/CMFUid/tests
In directory cvs.zope.org:/tmp/cvs-serv14594/tests

Modified Files:
	test_uidhandling.py 
Log Message:
- minor cosmetic changes
- added forgotten import of zLOG causing an exception if more than one object exists with the same uid


=== CMF/CMFUid/tests/test_uidhandling.py 1.2 => 1.3 ===
--- CMF/CMFUid/tests/test_uidhandling.py:1.2	Tue Jul 20 20:01:45 2004
+++ CMF/CMFUid/tests/test_uidhandling.py	Tue Jul 20 23:11:19 2004
@@ -51,7 +51,7 @@
         self.root._setObject('portal_uidgenerator', UniqueIdGeneratorTool())
         self.root._setObject('portal_uidhandler', UniqueIdHandlerTool())
         self.root._setObject('dummy', DummyContent(id='dummy'))
-        self.uid_attr_name = self.root.portal_uidhandler._UID_ATTRIBUTE_NAME
+        self.uid_attr_name = self.root.portal_uidhandler.UID_ATTRIBUTE_NAME
         setupIndexes(self.root.portal_catalog, self.uid_attr_name)
     
     def test_interface(self):



More information about the CMF-checkins mailing list