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

Function test_pex_vars_defaults_stripped

tests/test_variables.py:186–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184
185
186def test_pex_vars_defaults_stripped():
187 # type: () -> None
188 v = Variables(environ={})
189
190 # bool
191 assert v.PEX_ALWAYS_CACHE is not None
192 assert Variables.PEX_ALWAYS_CACHE.strip_default(v) is None
193
194 # string
195 assert v.PEX_PROFILE_SORT is not None
196 assert Variables.PEX_PROFILE_SORT.strip_default(v) is None
197
198 # int
199 assert v.PEX_VERBOSE is not None
200 assert Variables.PEX_VERBOSE.strip_default(v) is None
201
202
203def test_pex_root_unwriteable(tmpdir):

Callers

nothing calls this directly

Calls 2

VariablesClass · 0.90
strip_defaultMethod · 0.80

Tested by

no test coverage detected