

@patch('koi.configure.configure_syslog')
@patch('koi.configure.parse_command_line')
@patch('koi.configure.define_options')
@patch('koi.configure.options')
@patch('os.path.isfile')
def test_load_config_with_local_config(isfile, options, *args):
    isfile.return_value = True
    local_conf_file = './local.conf'
    load_config('.')
    options.parse_config_file.assert_called_once_with(local_conf_file, final=False)

dataset/ETHPy150Open openpermissions/koi/tests/unit/ssl/test_configure.py test_load_config_with_local_config/original