()
| 180 | |
| 181 | |
| 182 | def test_clp_pex_options(): |
| 183 | with option_parser() as parser: |
| 184 | configure_clp_pex_options(parser) |
| 185 | |
| 186 | options = parser.parse_args(args=[]) |
| 187 | assert options.venv == False |
| 188 | |
| 189 | options = parser.parse_args(args=["--venv"]) |
| 190 | assert options.venv == BinPath.FALSE |
| 191 | |
| 192 | options = parser.parse_args(args=["--venv", "append"]) |
| 193 | assert options.venv == BinPath.APPEND |
| 194 | |
| 195 | options = parser.parse_args(args=["--venv", "prepend"]) |
| 196 | assert options.venv == BinPath.PREPEND |
| 197 | |
| 198 | |
| 199 | def test_build_pex(): |
nothing calls this directly
no test coverage detected