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

Method test_no_args

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

Source from the content-addressed store, hash-verified

108 )
109
110 def test_no_args(self):
111 output = self.run_main([], expected_exit_code=2)
112 self.assertEqual(output, "usage: websockets [--version | <uri>]\n")

Callers

nothing calls this directly

Calls 1

run_mainMethod · 0.95

Tested by

no test coverage detected