From 3fedb4a58183543b397fc1d540b47646ee080172 Mon Sep 17 00:00:00 2001 From: whew <73732390+whew@users.noreply.github.com> Date: Sat, 6 Feb 2021 05:28:29 +0000 Subject: [PATCH] add test for socks5h like other socks protocols --- test/test_socks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_socks.py b/test/test_socks.py index 1e68eb0da..50803c436 100644 --- a/test/test_socks.py +++ b/test/test_socks.py @@ -113,6 +113,8 @@ class TestSocks(unittest.TestCase): def test_socks5(self): self.assertTrue(isinstance(self._get_ip('socks5'), compat_str)) + def test_socks5h(self): + self.assertTrue(isinstance(self._get_ip('socks5h'), compat_str)) if __name__ == '__main__': unittest.main()