Conditions | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | # -*- coding: utf-8 -*- |
||
23 | def test_get_vulnerability(self): |
||
24 | self.gmp.get_vulnerability('a1') |
||
25 | |||
26 | self.connection.send.has_been_called_with('<get_vulns vuln_id="a1"/>') |
||
27 | |||
28 | self.gmp.get_vulnerability(vulnerability_id='a1') |
||
29 | |||
30 | self.connection.send.has_been_called_with('<get_vulns vuln_id="a1"/>') |
||
31 | |||
38 |