Browse Source

Fixed test_get_redirect_url

pull/38/head
Sheng 6 years ago
parent
commit
d0542e72c6
  1. 4
      tests/test_handler.py

4
tests/test_handler.py

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

Loading…
Cancel
Save