Skip to content

Commit

Permalink
100% coverage! 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Feb 26, 2025
1 parent f4b20b2 commit b3d1a09
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,3 +312,10 @@ def test_no_pip_but_pypi_packages(tmp_path: Path) -> None:
match="PyPI packages are present but no pip package found in conda packages.",
):
_convert_env_to_conda_lock(lock_file, "default")


def test_convert_env_to_conda_lock_with_pypi(lock_file_pypi: LockFile) -> None:
"""Test _convert_env_to_conda_lock with a lock file containing pip packages."""
_convert_env_to_conda_lock(lock_file_pypi, "default")
_convert_env_to_conda_lock(lock_file_pypi, "project1")
_convert_env_to_conda_lock(lock_file_pypi, "project2")

0 comments on commit b3d1a09

Please sign in to comment.