mirror of
https://github.com/huashengdun/webssh.git
synced 2026-02-14 11:49:50 +00:00
Fixed test_get_redirect_url
This commit is contained in:
@@ -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/'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user