wrote a failing test.

changed test_miniuri.py
This commit is contained in:
russellballestrini 2016-02-01 21:39:41 -05:00
parent 4060d0da78
commit ea0bd71daa

View file

@ -53,6 +53,7 @@ class TestMiniUri(TestCase):
self.u = Uri('https://fox:pass@www.foxhop.net:81?p=2#5')
self.assertEqual(self.u.path, '')
self.assertEqual(self.u.uri, 'https://fox:pass@www.foxhop.net:81?p=2#5')
self.assertEqual(self.u.port, '81')
def test_uri_filename_only_path(self):
self.u = Uri('https://fox:pass@www.foxhop.net:81/filename.jpg?p=2#5')