Fixed test_get_redirect_url
This commit is contained in:
@@ -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/'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user