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

Function test_disable

tests/test_variables.py:84–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82
83
84def test_disable():
85 v = Variables(
86 environ=dict(
87 PEX_DISABLE_VARIABLES="1",
88 PEX_VERBOSE="42",
89 PEX_PATH="other.pex:more.pex",
90 PEX_SCRIPT="other",
91 )
92 )
93 assert v.PEX_DISABLE_VARIABLES is True
94 assert 0 == v.PEX_VERBOSE
95 assert () == v.PEX_PATH
96 assert v.PEX_SCRIPT is None
97 assert v.PEX_EMIT_WARNINGS is None
98
99
100def test_disable_patch():

Callers

nothing calls this directly

Calls 1

VariablesClass · 0.90

Tested by

no test coverage detected