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

Function test_invalid_group_missing_include

tests/resolve/test_dependency_groups.py:205–216  ·  view source on GitHub ↗
(project_dir1)

Source from the content-addressed store, hash-verified

203
204
205def test_invalid_group_missing_include(project_dir1):
206 # type: (str) -> None
207
208 options = parse_args(["--group", "missing-include"], cwd=project_dir1)
209 with pytest.raises(
210 KeyError,
211 match=re.escape(
212 "The dependency group 'does-not-exist' required by dependency group 'missing-include' "
213 "does not exist in the project at {project}.".format(project=project_dir1)
214 ),
215 ):
216 project.get_group_requirements(options)

Callers

nothing calls this directly

Calls 1

parse_argsFunction · 0.85

Tested by

no test coverage detected