[CMF-checkins] CVS: Products/CMFCore/tests - test_DirectoryView.py:1.26

Yvo Schubbe y.2005- at wcm-solutions.de
Tue May 24 06:42:03 EDT 2005


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

Modified Files:
	test_DirectoryView.py 
Log Message:
normalize path (test failed on Windows)


=== Products/CMFCore/tests/test_DirectoryView.py 1.25 => 1.26 ===
--- Products/CMFCore/tests/test_DirectoryView.py:1.25	Wed May 18 16:33:46 2005
+++ Products/CMFCore/tests/test_DirectoryView.py	Tue May 24 06:41:52 2005
@@ -112,6 +112,7 @@
         from Products.CMFCore import DirectoryView
         warnings = [t[0] for t in DirectoryView.__warningregistry__]
         text = 'DirectoryView fake_skin refers to a non-existing path %s' % file
+        text = text.replace('\\','/')
         self.assert_(text in warnings)
 
     def test_UnhandleableMinimalPath( self ):
@@ -168,7 +169,7 @@
 
     def test_surrogate_writethrough(self):
         # CMF Collector 316: It is possible to cause ZODB writes because
-        # setting attributes on the non-persistent surrogate writes them 
+        # setting attributes on the non-persistent surrogate writes them
         # into the persistent DirectoryView as well. This is bad in situations
         # where you only want to store markers and remove them before the
         # transaction has ended - they never got removed because there was



More information about the CMF-checkins mailing list