(self)
| 102 | ) |
| 103 | |
| 104 | def test_connection_failure(self): |
| 105 | output = self.run_main(["ws://localhost:54321"], expected_exit_code=1) |
| 106 | self.assertTrue( |
| 107 | output.startswith("Failed to connect to ws://localhost:54321: ") |
| 108 | ) |
| 109 | |
| 110 | def test_no_args(self): |
| 111 | output = self.run_main([], expected_exit_code=2) |