MCPcopy
hub / github.com/pex-tool/pex / empty_pex

Function empty_pex

tests/integration/test_integration.py:274–294  ·  view source on GitHub ↗
(
    tmpdir,  # type: Any
    request,  # type: Any
)

Source from the content-addressed store, hash-verified

272
273@pytest.fixture
274def empty_pex(
275 tmpdir, # type: Any
276 request, # type: Any
277):
278 # type: (...) -> str
279 pex_root = os.path.join(str(tmpdir), "pex_root")
280 result = run_pex_command(
281 [
282 "--pex-root",
283 pex_root,
284 "--runtime-pex-root",
285 pex_root,
286 "-o",
287 os.path.join(str(tmpdir), "pex"),
288 "--seed",
289 "verbose",
290 ]
291 + request.param
292 )
293 result.assert_success()
294 return cast(str, json.loads(result.output)["pex"])
295
296
297@readline_test

Callers

nothing calls this directly

Calls 4

run_pex_commandFunction · 0.90
castFunction · 0.90
assert_successMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected