SF feature #618024, urlparse fails on imap://

This commit is contained in:
Neal Norwitz 2003-01-06 06:58:31 +00:00
parent 4f442372cc
commit 68b539ef9c
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,9 @@ class UrlParseTestCase(unittest.TestCase):
('file:///tmp/junk.txt',
('file', '', '/tmp/junk.txt', '', '', ''),
('file', '', '/tmp/junk.txt', '', '')),
('imap://mail.python.org/mbox1',
('imap', 'mail.python.org', '/mbox1', '', '', ''),
('imap', 'mail.python.org', '/mbox1', '', '')),
]:
result = urlparse.urlparse(url)
self.assertEqual(result, parsed)