plugin.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:pytest-testrail 作者: dubner 项目源码 文件源码
def testrail(*ids):
    """
    Decorator to mark tests with testcase ids.

    ie. @testrail('C123', 'C12345')

    :return pytest.mark:
    """
    deprecation_msg = ('pytest_testrail: the @testrail decorator is deprecated and will be removed. Please use the '
            '@pytestrail.case decorator instead.')
    warnings.warn(deprecation_msg, DeprecatedTestDecorator)
    return pytestrail.case(*ids)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号