astral-sh/uv

Test coverage for retrieval of git credentials from the helper

Open

#2,048 opened on Feb 28, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (3,111 forks)batch import
help wantedtesting

Repository metrics

Stars
 (84,934 stars)
PR merge metrics
 (Avg merge 7d 16h) (259 merged PRs in 30d)

Description

Related to https://github.com/astral-sh/uv/issues/1980#issuecomment-1969576444

Our tests are not currently isolated from the global git credential helper, which is used to retrieve credentials if not provided in the URL. We should write a utility to isolate tests from the global credential helper and add test coverage where we populate a credential helper with a password to retrieve a dependency and install it without providing the password directly.

Contributor guide