@patch('koi.configure.configure_syslog')
@patch('koi.configure.parse_command_line')
@patch('koi.configure.options')
@patch('koi.configure.define_options')
@patch('os.path.isfile')
def test_load_config_no_local_config(isfile,
                                     define_options,
                                     options,
                                     parse_command_line,
                                     configure_syslog):
    isfile.return_value = False

    # MUT
    load_config('.')
    assert define_options.call_count == 1
    assert options.run_parse_callbacks.call_count == 0
    options.parse_config_file.assert_not_called()
    parse_command_line.assert_called_once_with(final=True)
dataset/ETHPy150Open openpermissions/koi/tests/unit/ssl/test_configure.py/test_load_config_no_local_config/original