usefixtures可以用在pytestmark,作用域是定义所在module的所有tests. pytestmark = pytest.mark.usefixtures("cleandir"). usefixtures也可以用在pytest.ini,作用域 ...
確定! 回上一頁