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

Method test_version

tests/test_cli.py:51–53  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49 return stdout.getvalue()
50
51 def test_version(self):
52 output = self.run_main(["--version"])
53 self.assertEqual(output, f"websockets {version}\n")
54
55 def test_receive_text_message(self):
56 def text_handler(websocket):

Callers

nothing calls this directly

Calls 1

run_mainMethod · 0.95

Tested by

no test coverage detected