I have a fixture: @pytest.fixture(scope="function") def task(): task = TaskFactory() task.add() yield task task.delete().
確定! 回上一頁