Fixed test_get_redirect_url

pull/38/head
Sheng 2018-10-21 14:45:58 +08:00
parent 8e4039a24a
commit d0542e72c6
1 changed files with 2 additions and 2 deletions

View File

@ -67,13 +67,13 @@ class TestMixinHandler(unittest.TestCase):
uri = '/' uri = '/'
port = 443 port = 443
self.assertTrue( self.assertEqual(
handler.get_redirect_url(hostname, port, uri=uri), handler.get_redirect_url(hostname, port, uri=uri),
'https://www.example.com/' 'https://www.example.com/'
) )
port = 4433 port = 4433
self.assertTrue( self.assertEqual(
handler.get_redirect_url(hostname, port, uri), handler.get_redirect_url(hostname, port, uri),
'https://www.example.com:4433/' 'https://www.example.com:4433/'
) )