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