Conditions | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | # -*- coding: utf-8 -*- |
||
23 | def test_get_host(self): |
||
24 | self.gmp.get_host('a1') |
||
25 | |||
26 | self.connection.send.has_been_called_with( |
||
27 | '<get_assets asset_id="a1" type="host"/>' |
||
28 | ) |
||
29 | |||
30 | self.gmp.get_host(host_id='a1') |
||
31 | |||
32 | self.connection.send.has_been_called_with( |
||
33 | '<get_assets asset_id="a1" type="host"/>' |
||
34 | ) |
||
46 |