MCPcopy Create free account
hub / github.com/conda/constructor / test_exclude_packages

Function test_exclude_packages

tests/test_fcp.py:58–66  ·  view source on GitHub ↗
(values: tuple[..., GenericObject], expected_value)

Source from the content-addressed store, hash-verified

56 ),
57)
58def test_exclude_packages(values: tuple[..., GenericObject], expected_value):
59 if expected_value is False:
60 context = pytest.raises(SystemExit)
61 else:
62 context = nullcontext()
63
64 with context:
65 packages = exclude_packages(*values)
66 assert packages == expected_value
67
68
69class MockPathData:

Callers

nothing calls this directly

Calls 1

exclude_packagesFunction · 0.90

Tested by

no test coverage detected