You can use multiple Pytest fixtures. A common pattern when testing is to mock part of the functionality, while writing some output to a file.
確定! 回上一頁