@pytest.mark.usefixtures("myfixt") class TestWithMyFixt(object): @classmethod def setup_class(cls): ... 当我运行测试时,我看到setup_class()在调用夹具 ...
確定! 回上一頁