Skip to content

Commit

Permalink
Fixed test_get_redirect_url
Browse files Browse the repository at this point in the history
  • Loading branch information
huashengdun committed Oct 21, 2018
1 parent 8e4039a commit d0542e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_handler.py
Expand Up @@ -67,13 +67,13 @@ def test_get_redirect_url(self):
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/'
)
Expand Down

0 comments on commit d0542e7

Please sign in to comment.