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