2009-07-19 17:18:21 -03:00
|
|
|
"""Main entry point"""
|
|
|
|
|
|
|
|
import sys
|
|
|
|
if sys.argv[0].endswith("__main__.py"):
|
|
|
|
sys.argv[0] = "unittest"
|
|
|
|
|
2010-03-21 21:06:30 -03:00
|
|
|
__unittest = True
|
|
|
|
|
2010-03-21 23:49:08 -03:00
|
|
|
from .main import main, TestProgram, USAGE_AS_MAIN
|
|
|
|
TestProgram.USAGE = USAGE_AS_MAIN
|
2010-03-21 21:06:30 -03:00
|
|
|
|
2009-07-19 17:18:21 -03:00
|
|
|
main(module=None)
|