forked from SublimeText/UnitTesting
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathut.py
More file actions
42 lines (35 loc) · 1.35 KB
/
Copy pathut.py
File metadata and controls
42 lines (35 loc) · 1.35 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import os
import sublime
import sys
coverage_path = os.path.abspath(os.path.join(
os.path.dirname(__file__),
"..",
"..",
"Packages",
"coverage",
"st3_%s_%s" % (sublime.platform(), sublime.arch())
))
if os.path.exists(coverage_path) and coverage_path not in sys.path:
sys.path.append(coverage_path)
from . import unittesting # noqa: F402
sys.modules["unittesting"] = unittesting
from unittesting import UnitTestingRunSchedulerCommand # noqa: F401
from unittesting import UnitTestingCommand # noqa: F401
from unittesting import UnitTestingCoverageCommand # noqa: F401
from unittesting import UnitTestingCurrentFileCommand # noqa: F401
from unittesting import UnitTestingCurrentPackageCommand # noqa: F401
from unittesting import UnitTestingCurrentPackageCoverageCommand # noqa: F401
from unittesting import UnitTestingSyntaxCommand # noqa: F401
from unittesting import UnitTestingSyntaxCompatibilityCommand # noqa: F401
from unittesting import UnitTestingColorSchemeCommand # noqa: F401
__all__ = [
"UnitTestingRunSchedulerCommand",
"UnitTestingCommand",
"UnitTestingCoverageCommand",
"UnitTestingCurrentFileCommand",
"UnitTestingCurrentPackageCommand",
"UnitTestingCurrentPackageCoverageCommand",
"UnitTestingSyntaxCommand",
"UnitTestingSyntaxCompatibilityCommand",
"UnitTestingColorSchemeCommand"
]