summaryrefslogtreecommitdiff
path: root/websocket/tests
diff options
context:
space:
mode:
authorbubbleboy14 <mario.balibrera@gmail.com>2023-01-20 13:14:23 -0800
committerbubbleboy14 <mario.balibrera@gmail.com>2023-01-20 13:14:23 -0800
commitbe4110c08c5d10b52410c36c72d1deb9e4cbf32c (patch)
treed6dddc00338bc416ba72e7de629dd170270ddb8f /websocket/tests
parent7d83cc3e559526ca2d6774768baffc19ff14f8da (diff)
parent601a9022d6044bf6d414fdb1122916b65dc58ca7 (diff)
downloadwebsocket-client-t858.tar.gz
Merge branch 'master' into t858t858
Diffstat (limited to 'websocket/tests')
-rw-r--r--websocket/tests/test_app.py2
-rw-r--r--websocket/tests/test_websocket.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/websocket/tests/test_app.py b/websocket/tests/test_app.py
index 8614d08..5526d3e 100644
--- a/websocket/tests/test_app.py
+++ b/websocket/tests/test_app.py
@@ -191,7 +191,7 @@ class WebSocketAppTest(unittest.TestCase):
""" Test WebSocketApp binary opcode
"""
# The lack of wss:// in the URL below is on purpose
- app = ws.WebSocketApp('streaming.vn.teslamotors.com/streaming/')
+ app = ws.WebSocketApp('wss://streaming.vn.teslamotors.com/streaming/')
app.run_forever(ping_interval=2, ping_timeout=1, ping_payload="Ping payload")
@unittest.skipUnless(TEST_WITH_INTERNET, "Internet-requiring tests are disabled")
diff --git a/websocket/tests/test_websocket.py b/websocket/tests/test_websocket.py
index ae42ab5..d47d73e 100644
--- a/websocket/tests/test_websocket.py
+++ b/websocket/tests/test_websocket.py
@@ -432,7 +432,7 @@ class HandshakeTest(unittest.TestCase):
self.assertRaises(ws._exceptions.WebSocketBadStatusException,
websock3.connect, "wss://api.bitfinex.com/ws/2", cookie="chocolate",
origin="testing_websockets.com",
- host="echo.websocket.org/websocket-client-test",
+ host="echo.websocket.events/websocket-client-test",
subprotocols=["testproto"],
connection="Upgrade",
header={"CustomHeader1":"123",