| Index: tools/auto_bisect/mock_wrapper.py
|
| diff --git a/tools/auto_bisect/mock_wrapper.py b/tools/auto_bisect/mock_wrapper.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1185010d53f912e16728687bd64038dc0b2eaacc
|
| --- /dev/null
|
| +++ b/tools/auto_bisect/mock_wrapper.py
|
| @@ -0,0 +1,18 @@
|
| +# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +"""An intermediary used to import the third-party mock module."""
|
| +
|
| +import os
|
| +import sys
|
| +
|
| +sys.path.append(os.path.join(
|
| + os.path.dirname(__file__), os.path.pardir, os.path.pardir,
|
| + 'third_party', 'pymock'))
|
| +
|
| +# Pylint is unable to import (F0401) because pylint doesn't modify sys.path.
|
| +# A wildcard import is used below (W0401) to get everything from the module.
|
| +# pylint: disable=F0401,W0401
|
| +from mock import *
|
| +
|
|
|