* add mms (windows media) as another scheme

* reformat schemes to 80 columns
This commit is contained in:
Skip Montanaro 2003-01-06 20:27:03 +00:00
parent ef893fe452
commit f09b88ee2f
2 changed files with 18 additions and 19 deletions

View file

@ -28,6 +28,9 @@ class UrlParseTestCase(unittest.TestCase):
('imap://mail.python.org/mbox1',
('imap', 'mail.python.org', '/mbox1', '', '', ''),
('imap', 'mail.python.org', '/mbox1', '', '')),
('mms://wms.sys.hinet.net/cts/Drama/09006251100.asf',
('mms', 'wms.sys.hinet.net', '/cts/Drama/09006251100.asf', '', '', ''),
('mms', 'wms.sys.hinet.net', '/cts/Drama/09006251100.asf', '', '')),
]:
result = urlparse.urlparse(url)
self.assertEqual(result, parsed)