def _NewBuilderRun(options=None, config=None):
    'Create a BuilderRun objection from options and config values.\n\n  Args:\n    options: Specify options or default to DEFAULT_OPTIONS.\n    config: Specify build config or default to DEFAULT_CONFIG.\n\n  Returns:\n    BuilderRun object.\n  '
    manager = parallel_unittest.FakeMultiprocessManager()
    options = (options or DEFAULT_OPTIONS)
    config = (config or DEFAULT_CONFIG)
    site_config = config_lib_unittest.MockSiteConfig()
    site_config[config.name] = config
    return cbuildbot_run.BuilderRun(options, site_config, config, manager)
Create a BuilderRun objection from options and config values.

Args:
  options: Specify options or default to DEFAULT_OPTIONS.
  config: Specify build config or default to DEFAULT_CONFIG.

Returns:
  BuilderRun object.
def _NewBuilderRun(options=None, config=None):
    'Create a BuilderRun objection from options and config values.\n\n  Args:\n    options: Specify options or default to DEFAULT_OPTIONS.\n    config: Specify build config or default to DEFAULT_CONFIG.\n\n  Returns:\n    BuilderRun object.\n  '
    manager = parallel_unittest.FakeMultiprocessManager()
    options = (options or DEFAULT_OPTIONS)
    config = (config or DEFAULT_CONFIG)
    site_config = config_lib_unittest.MockSiteConfig()
    site_config[config.name] = config
    return cbuildbot_run.BuilderRun(options, site_config, config, manager)