MCPcopy Create free account
hub / github.com/apache/arrow / test_partial_env

Function test_partial_env

dev/archery/archery/tests/test_testing.py:25–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24
25def test_partial_env():
26 assert PartialEnv(a=1, b=2) == {'a': 1, 'b': 2, 'c': 3}
27 assert PartialEnv(a=1) == {'a': 1, 'b': 2, 'c': 3}
28 assert PartialEnv(a=1, b=2) == {'a': 1, 'b': 2}
29 assert PartialEnv(a=1, b=2) != {'b': 2, 'c': 3}
30 assert PartialEnv(a=1, b=2) != {'a': 1, 'c': 3}
31
32
33def test_assert_subprocess_calls():

Callers

nothing calls this directly

Calls 1

PartialEnvClass · 0.90

Tested by

no test coverage detected