It's not often needed, but a fixture can also contain teardown code to be called after any test that used that fixture simply by using yield ...
確定! 回上一頁