def run_tests(self):
"""Customized run"""
# deferred import
import pytest
# run pytest with empty array so pytest.ini takes complete control
# need to use [] because of https://github.com/pytest-dev/pytest/issues/1110
errno = pytest.main([])
sys.exit(errno)
#
# Main logic
#
评论列表
文章目录