pytest执行通过allure动态标记feature的用例时,可以发现用例但没有运行

请教一下,如何可以让pytest可以发现并执行满足 通过allure动态标记 过滤条件的用例?

问题代码

# test_111.py
import pytest
import allure

class Test001(object):
    def test_001(self):
        allure.dynamic.feature('测试模块')
        allure.dynamic.story('测试子模块')
        assert 1

运行用例
pytest --alluredir ./report/ --allure-features=测试模块 test_111.py
运行结果

PS C:\Users\admin\Desktop\Code\py_test> pytest --alluredir ./report/ --allure-features=测试模块 test_111.py
========================================================================================================== test session starts ===========================================================================================================
platform win32 -- Python 3.7.10, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: C:\Users\admin\Desktop\Code\py_test, configfile: pytest.ini
plugins: allure-pytest-2.9.43
collected 1 items                                                                                                                                                                                                                         

========================================================================================================= no tests ran in 0.14s ==========================================================================================================

你好,我是有问必答小助手,非常抱歉,本次您提出的有问必答问题,技术专家团超时未为您做出解答


本次提问扣除的有问必答次数,将会以问答VIP体验卡(1次有问必答机会、商城购买实体图书享受95折优惠)的形式为您补发到账户。


因为有问必答VIP体验卡有效期仅有1天,您在需要使用的时候【私信】联系我,我会为您补发。