From ea0bd71daa19ba3cedc655e0fa9afec72128cf34 Mon Sep 17 00:00:00 2001 From: russellballestrini Date: Mon, 1 Feb 2016 21:39:41 -0500 Subject: [PATCH] wrote a failing test. changed test_miniuri.py --- test_miniuri.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test_miniuri.py b/test_miniuri.py index a0ef18a..b87aec8 100644 --- a/test_miniuri.py +++ b/test_miniuri.py @@ -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')