示例#1
0
 def test_init_cli_config_positive(self, makedirs_mock, exists_mock,
                                   dirname_mock):
     """Test for _init_cli_config method positive result."""
     _init_cli_config()
     dirname_mock.assert_called_once()
     exists_mock.assert_called_once_with("dir-name")
     makedirs_mock.assert_called_once_with("dir-name")
示例#2
0
def reset_aea_cli_config() -> None:
    """Resets the cli config for each test."""
    _init_cli_config()