From 313e35d87cace7921e99e35df82895f1fe83edb0 Mon Sep 17 00:00:00 2001 From: liris Date: Wed, 18 Mar 2015 10:39:21 +0900 Subject: [PATCH] remove white space. --- websocket/tests/test_websocket.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/websocket/tests/test_websocket.py b/websocket/tests/test_websocket.py index 45907f4..60d49d4 100644 --- a/websocket/tests/test_websocket.py +++ b/websocket/tests/test_websocket.py @@ -480,7 +480,7 @@ class WebSocketAppTest(unittest.TestCase): close the connection. """ WebSocketAppTest.keep_running_open = self.keep_running - + self.close() def on_close(self, *args, **kwargs): @@ -534,7 +534,7 @@ class SockOptTest(unittest.TestCase): class UtilsTest(unittest.TestCase): def testUtf8Validator(self): state = validate_utf8(six.b('\xf0\x90\x80\x80')) - self.assertEqual(state, True) + self.assertEqual(state, True) state = validate_utf8(six.b('\xce\xba\xe1\xbd\xb9\xcf\x83\xce\xbc\xce\xb5\xed\xa0\x80edited')) self.assertEqual(state, False) state = validate_utf8(six.b('')) @@ -569,9 +569,9 @@ class ProxyInfoTest(unittest.TestCase): self.assertEqual(get_proxy_info("echo.websocket.org", False, http_proxy_host="localhost", http_proxy_auth=("a", "b")), ("localhost", 0, ("a", "b"))) - self.assertEqual(get_proxy_info("echo.websocket.org", False, http_proxy_host="localhost", http_proxy_port=3128, http_proxy_auth=("a", "b")), + self.assertEqual(get_proxy_info("echo.websocket.org", False, http_proxy_host="localhost", http_proxy_port=3128, http_proxy_auth=("a", "b")), ("localhost", 3128, ("a", "b"))) - self.assertEqual(get_proxy_info("echo.websocket.org", True, http_proxy_host="localhost", http_proxy_auth=("a", "b")), + self.assertEqual(get_proxy_info("echo.websocket.org", True, http_proxy_host="localhost", http_proxy_auth=("a", "b")), ("localhost", 0, ("a", "b"))) self.assertEqual(get_proxy_info("echo.websocket.org", True, http_proxy_host="localhost", http_proxy_port=3128, http_proxy_auth=("a", "b")), ("localhost", 3128, ("a", "b"))) @@ -634,6 +634,6 @@ class ProxyInfoTest(unittest.TestCase): - + if __name__ == "__main__": unittest.main()