forked from facebook/TestSlide
/
__init__.py
28 lines (25 loc) · 1.32 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import testslide.core.matchers as matchers
import testslide.core.mock_callable as mock_callable
import testslide.core.mock_constructor as mock_constructor
import testslide.core.patch_attribute as patch_attribute
from testslide.core import TestCase, _importer # noqa
from testslide.core.strict_mock import StrictMock # noqa
import testslide.dsl.dsl as dsl
import testslide.executor.runner as runner
import testslide.executor.cli as cli
import testslide.executor.import_profiler as import_profiler
import sys
# I'm sorry. I know. This is necessary to provide backwards compatibility with TestSlide 2.0 so I don't break the world.
sys.modules["testslide.matchers"] = matchers
sys.modules["testslide.mock_callable"] = mock_callable
sys.modules["testslide.mock_constructor"] = mock_constructor
sys.modules["testslide.patch_attribute"] = patch_attribute
sys.modules["testslide.dsl"] = dsl
sys.modules["testslide.cli"] = cli
sys.modules["testslide.import_profiler"] = import_profiler
sys.modules["testslide.runner"] = runner
__all__ = [TestCase, StrictMock, _importer, "matchers", "mock_callable", "mock_constructor", "patch_attribute", "dsl", "cli", "import_profiler", "runner"]