summaryrefslogtreecommitdiff
path: root/deps/v8/build/android/pylib/base/mock_environment.py
blob: 9ebb083a086063a366c0222ab11a6c5d7d2a5a8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright 2017 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.

from pylib.base import environment
from pylib.constants import host_paths

with host_paths.SysPath(host_paths.PYMOCK_PATH):
  import mock  # pylint: disable=import-error


MockEnvironment = mock.MagicMock(environment.Environment)