naiveproxy/build/android/pylib/base/mock_environment.py

13 lines
393 B
Python
Raw Permalink Normal View History

2018-08-15 01:19:20 +03:00
# 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)