(
tmpdir_factory, # type: TempdirFactory
request, # type: Any
requests_lock_strict, # type: str
)
| 145 | |
| 146 | @pytest.fixture(scope="module") |
| 147 | def requests_tool_pex( |
| 148 | tmpdir_factory, # type: TempdirFactory |
| 149 | request, # type: Any |
| 150 | requests_lock_strict, # type: str |
| 151 | ): |
| 152 | # type: (...) -> str |
| 153 | |
| 154 | requests_pex = tmpdir_factory.mktemp("tool", request=request).join("requests.pex") |
| 155 | run_pex_command( |
| 156 | args=["--lock", requests_lock_strict, "--include-tools", "requests", "-o", requests_pex] |
| 157 | ).assert_success() |
| 158 | return requests_pex |
| 159 | |
| 160 | |
| 161 | @pytest.fixture |
nothing calls this directly
no test coverage detected