MCPcopy Index your code
hub / github.com/python-websockets/websockets / add_connection_messages

Function add_connection_messages

tests/test_cli.py:23–24  ·  view source on GitHub ↗
(output, server_uri)

Source from the content-addressed store, hash-verified

21
22
23def add_connection_messages(output, server_uri):
24 return f"Connected to {server_uri}.\n{output}Connection closed: 1000 (OK).\n"
25
26
27class CLITests(unittest.TestCase):

Callers 4

test_send_messageMethod · 0.85
test_close_connectionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…