[Zope-CVS] SVN: zpkgtools/trunk/zpkgsetup/tests/test_urlutils.py Drive letters are normalized to upper case on Windows.

Fred L. Drake, Jr. fdrake at gmail.com
Fri Sep 17 12:39:19 EDT 2004


Log message for revision 27609:
  Drive letters are normalized to upper case on Windows.


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 16:33:02 UTC (rev 27608)
+++ zpkgtools/trunk/zpkgsetup/tests/test_urlutils.py	2004-09-17 16:39:19 UTC (rev 27609)
@@ -29,13 +29,13 @@
 
     def test_with_drive_letter(self):
         self.assertEqual(urlutils.file_url("c:\\some\\file.txt"),
-                         "file:///c|/some/file.txt")
+                         "file:///C|/some/file.txt")
         self.assertEqual(urlutils.file_url("c:some\\file.txt"),
-                         "file:///c|some/file.txt")
+                         "file:///C|some/file.txt")
         self.assertEqual(urlutils.file_url("\\some\\folder"),
-                         "file:///c|/some/folder")
+                         "file:///C|/some/folder")
         self.assertEqual(urlutils.file_url("\\some\\folder\\"),
-                         "file:///c|/some/folder")
+                         "file:///C|/some/folder")
 
     def test_without_drive_letter(self):
         self.assertEqual(urlutils.file_url("\\some\\file.txt"),



More information about the Zope-CVS mailing list