| Conditions | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 9 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | """kytos.cli.commands.web.parser tests.""" |
||
| 37 | @staticmethod |
||
| 38 | @patch('kytos.cli.commands.web.api.WebAPI.update') |
||
| 39 | @patch('kytos.utils.config.KytosConfig') |
||
| 40 | def test_call(*args): |
||
| 41 | """Test call method.""" |
||
| 42 | (_, mock_web_api) = args |
||
| 43 | call('update', 'args') |
||
| 44 | |||
| 45 | mock_web_api.assert_called_with('args') |
||
| 46 |