If you want to share the generator between tests, you can just give it a scope argument: @pytest.fixture def gen(scope="module"): """Return ...
確定! 回上一頁