tests/test-url.py
changeset 15513 646759147717
parent 15452 de7e2fba4326
parent 15496 396e83d635a6
child 15611 ec8a49c46d7e
--- a/tests/test-url.py	Mon Nov 14 18:16:01 2011 +0100
+++ b/tests/test-url.py	Thu Nov 17 16:53:17 2011 -0600
@@ -223,6 +223,14 @@
     >>> u.localpath()
     'f:oo/bar/baz'
 
+    >>> u = url('file://localhost/f:oo/bar/baz')
+    >>> u
+    <url scheme: 'file', host: 'localhost', path: 'f:oo/bar/baz'>
+    >>> str(u)
+    'file://localhost/f:oo/bar/baz'
+    >>> u.localpath()
+    'f:oo/bar/baz'
+
     >>> u = url('file:foo/bar/baz')
     >>> u
     <url scheme: 'file', path: 'foo/bar/baz'>