We'll use mock to replace the real context manager with our stub. Actually, we'll use mocker, which is a fixture provided by the pytest-mock plugin.
確定! 回上一頁