Skip to content

Commit

Permalink
remove problematic CI test URL
Browse files Browse the repository at this point in the history
  • Loading branch information
engn33r committed Jan 26, 2023
1 parent 669fe1b commit f0d2d0e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions websocket/tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,14 @@ def testOpcodeClose(self):
app = ws.WebSocketApp('wss://tsock.us1.twilio.com/v3/wsconnect')
app.run_forever(ping_interval=2, ping_timeout=1, ping_payload="Ping payload")

@unittest.skipUnless(TEST_WITH_INTERNET, "Internet-requiring tests are disabled")
def testOpcodeBinary(self):
""" Test WebSocketApp binary opcode
"""
# The lack of wss:// in the URL below is on purpose
app = ws.WebSocketApp('wss://streaming.vn.teslamotors.com/streaming/')
app.run_forever(ping_interval=2, ping_timeout=1, ping_payload="Ping payload")
# This is commented out because the URL no longer responds in the expected way
# @unittest.skipUnless(TEST_WITH_INTERNET, "Internet-requiring tests are disabled")
# def testOpcodeBinary(self):
# """ Test WebSocketApp binary opcode
# """
# # The lack of wss:// in the URL below is on purpose
# 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")
def testBadPingInterval(self):
Expand Down

0 comments on commit f0d2d0e

Please sign in to comment.