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-07 17:59:00 +08:00
|
|
|
(c) Holger Krekel and others, 2004-2010
|
|
|
|
"""
|
2010-10-10 19:48:48 +08:00
|
|
|
__version__ = "2.0.0dev0"
|
2010-10-07 17:59:00 +08:00
|
|
|
|
2010-10-10 19:48:49 +08:00
|
|
|
__all__ = ['collect', 'cmdline', 'config']
|
2010-10-10 19:48:49 +08:00
|
|
|
|
2010-10-10 19:48:49 +08:00
|
|
|
import pytest._config
|
|
|
|
config = pytest._config.Config()
|
|
|
|
from pytest import collect
|
|
|
|
from pytest import main as cmdline
|
2010-10-10 19:48:48 +08:00
|
|
|
|
2010-10-07 17:59:00 +08:00
|
|
|
def __main__():
|
2010-10-10 19:48:48 +08:00
|
|
|
raise SystemExit(cmdline.main())
|