[Zope-CVS] SVN: zpkgtools/trunk/zpkgsetup/tests/test_urlutils.py
	fix Windows tests for pathname2url() (cut-&-pasto)
    Fred L. Drake, Jr. 
    fdrake at gmail.com
       
    Fri Sep 17 13:04:18 EDT 2004
    
    
  
Log message for revision 27613:
  fix Windows tests for pathname2url() (cut-&-pasto)
Changed:
  U   zpkgtools/trunk/zpkgsetup/tests/test_urlutils.py
-=-
Modified: zpkgtools/trunk/zpkgsetup/tests/test_urlutils.py
===================================================================
--- zpkgtools/trunk/zpkgsetup/tests/test_urlutils.py	2004-09-17 17:01:47 UTC (rev 27612)
+++ zpkgtools/trunk/zpkgsetup/tests/test_urlutils.py	2004-09-17 17:04:18 UTC (rev 27613)
@@ -47,13 +47,13 @@
 
     def test_pathname2url_with_drive_letter(self):
         self.assertEqual(urlutils.pathname2url("c:\\some\\file.txt"),
-                         "file:///C|/some/file.txt")
+                         "/C|/some/file.txt")
         self.assertEqual(urlutils.pathname2url("c:some\\file.txt"),
-                         "file:///C|/some/file.txt")
+                         "/C|/some/file.txt")
         self.assertEqual(urlutils.pathname2url("\\some\\folder"),
-                         "file:///some/folder")
+                         "/some/folder")
         self.assertEqual(urlutils.pathname2url("\\some\\folder\\"),
-                         "file:///some/folder")
+                         "/some/folder")
 
     def test_pathname2url_without_drive_letter(self):
         self.assertEqual(urlutils.pathname2url("\\some\\file.txt"),
    
    
More information about the Zope-CVS
mailing list