"""Main entry point"""
import sys
if sys.argv[0].endswith("__main__.py"):
import os.path
# We change sys.argv[0] to make help message more useful
# use executable without path, unquoted
# (it's just a hint anyway)
# (if you have spaces in your executable you get what you deserve!)
executable = os.path.basename(sys.executable)
sys.argv[0] = executable + " -m unittest"
del os
__unittest = True
from .main import main, TestProgram, USAGE_AS_MAIN
TestProgram.USAGE = USAGE_AS_MAIN
main(module=None)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| __init__.py | File | 2.72 KB | 0644 |
|
| __main__.py | File | 534 B | 0644 |
|
| case.py | File | 48.92 KB | 0644 |
|
| loader.py | File | 13.56 KB | 0644 |
|
| main.py | File | 10.14 KB | 0644 |
|
| mock.py | File | 69.8 KB | 0644 |
|
| result.py | File | 6.13 KB | 0644 |
|
| runner.py | File | 7.31 KB | 0644 |
|
| signals.py | File | 2.35 KB | 0644 |
|
| suite.py | File | 9.49 KB | 0644 |
|
| util.py | File | 4.06 KB | 0644 |
|