Test handling a message payload with type='info'.
(self)
| 247 | ) |
| 248 | |
| 249 | def test_handling_info_message(self): |
| 250 | """Test handling a message payload with type='info'.""" |
| 251 | incoming = [ |
| 252 | ("server", {"message": "Some message or other\n", "type": "info"}), |
| 253 | ] |
| 254 | self.do_test( |
| 255 | incoming=incoming, |
| 256 | expected_outgoing=[], |
| 257 | expected_stdout="Some message or other\n", |
| 258 | ) |
| 259 | |
| 260 | def test_handling_error_message(self): |
| 261 | """Test handling a message payload with type='error'.""" |