(self)
| 915 | assert r == {'ok': 'pong'} |
| 916 | |
| 917 | def test_shutdown(self): |
| 918 | m = {'method': 'shutdown', |
| 919 | 'destination': hostname} |
| 920 | with pytest.raises(SystemExit) as excinfo: |
| 921 | self.panel.handle_message(m, None) |
| 922 | assert excinfo.value.code == 0 |
| 923 | |
| 924 | def test_panel_reply(self): |
| 925 |