()
| 120 | |
| 121 | |
| 122 | def test_simple_local_resolve(): |
| 123 | # type: () -> None |
| 124 | project_wheel = build_wheel(name="project") |
| 125 | |
| 126 | with temporary_dir() as td: |
| 127 | safe_copy(project_wheel, os.path.join(td, os.path.basename(project_wheel))) |
| 128 | resolved_dists = local_resolve( |
| 129 | requirements=[parse_requirement_string("project")], |
| 130 | repos_configuration=ReposConfiguration.create(find_links=[Repo(td)]), |
| 131 | ) |
| 132 | assert len(resolved_dists) == 1 |
| 133 | |
| 134 | |
| 135 | def test_resolve_cache(): |
nothing calls this directly
no test coverage detected