You can also use yield (see pytest docs). Then to use this fixture on the test methods we can just pass it in as function argument:.
確定! 回上一頁