| Conditions | 1 |
| Total Lines | 6 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # -*- coding: utf-8 -*- |
||
| 6 | def test_host_clientinfo(vim): |
||
| 7 | h = Host(vim) |
||
| 8 | assert h._request_handlers.keys() == host_method_spec.keys() |
||
| 9 | assert 'remote' == vim.api.get_chan_info(vim.channel_id)['client']['type'] |
||
| 10 | h._load([]) |
||
| 11 | assert 'host' == vim.api.get_chan_info(vim.channel_id)['client']['type'] |
||
| 12 |