| Conditions | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 9 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | """kytos.cli.commands.web.parser tests.""" |
||
| 23 | @staticmethod |
||
| 24 | @patch('kytos.cli.commands.web.api.WebAPI.update') |
||
| 25 | @patch('kytos.utils.config.KytosConfig') |
||
| 26 | def test_call(*args): |
||
| 27 | """Test call method.""" |
||
| 28 | (_, mock_web_api) = args |
||
| 29 | call('update', 'args') |
||
| 30 | |||
| 31 | mock_web_api.assert_called_with('args') |
||
| 32 |