def METHOD_NAME(context):
    context.execute_steps('Given I write config to file')
    args = [context.naemon_exec_path, '--allow-root', '--verify-config',
            context.naemonsysconfig.filename]
    context.return_code = subprocess.call(args)