def run_tests(self):
import shlex
#import here, cause outside the eggs aren't loaded
import pytest
if not self.pytest_args:
targs = []
else:
targs = shlex.split(self.pytest_args)
errno = pytest.main(targs)
sys.exit(errno)
评论列表
文章目录