Pytest 运行时设置setup teardown路径:test\test_.py"""前置条件-------- test ... 的操作 @pytest.fixture() def g(): print('-- g set up --') yield print('-- g ...
確定! 回上一頁