2010-10-07 17:59:00 +08:00
|
|
|
"""
|
2010-10-10 19:48:49 +08:00
|
|
|
py.test / pytest API for unit and functional testing with Python.
|
2010-10-12 18:54:32 +08:00
|
|
|
|
|
|
|
see http://pytest.org for documentation and details
|
|
|
|
|
2010-10-07 17:59:00 +08:00
|
|
|
(c) Holger Krekel and others, 2004-2010
|
|
|
|
"""
|
2010-11-01 02:53:11 +08:00
|
|
|
__version__ = '2.0.0.dev12'
|
2010-10-07 17:59:00 +08:00
|
|
|
|
2010-10-12 18:54:32 +08:00
|
|
|
__all__ = ['config', 'cmdline']
|
2010-10-10 19:48:49 +08:00
|
|
|
|
2010-10-12 18:54:32 +08:00
|
|
|
from pytest import _core as cmdline
|
2010-10-28 01:35:27 +08:00
|
|
|
UsageError = cmdline.UsageError
|
2010-10-10 19:48:48 +08:00
|
|
|
|
2010-10-07 17:59:00 +08:00
|
|
|
def __main__():
|
2010-11-01 01:06:11 +08:00
|
|
|
raise SystemExit(cmdline.main())
|