(project_dir1)
| 203 | |
| 204 | |
| 205 | def 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) |
nothing calls this directly
no test coverage detected