-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22937c2
commit cf5dcb4
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ | |
) | ||
from conda_lock.models.channel import Channel | ||
from conda_lock.models.lock_spec import VCSDependency, VersionedDependency | ||
from conda_lock.pypi_solver import parse_pip_requirement, solve_pypi, _strip_auth | ||
from conda_lock.pypi_solver import _strip_auth, parse_pip_requirement, solve_pypi | ||
from conda_lock.src_parser import ( | ||
DEFAULT_PLATFORMS, | ||
LockSpecification, | ||
|
@@ -1648,7 +1648,7 @@ def test__strip_auth_from_line(line: str, stripped: str): | |
"https://username:password@[email protected]/path?query=string#fragment", | ||
"https://example.com/path?query=string#fragment", | ||
), | ||
) | ||
), | ||
) | ||
def test_strip_auth_from_url(url: str, stripped: str): | ||
assert _strip_auth(url) == stripped | ||
|