From 58250415770ec64d9a7f34c71cc1ef6ca28964b1 Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Thu, 3 Oct 2024 21:18:01 +0200 Subject: [PATCH] Revert "Allow for strange base_url and channel with micromamba2" This reverts commit d27b97ed3b4c85ea50f537a25905d8ab6f63d4eb. --- tests/test_conda_lock.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/test_conda_lock.py b/tests/test_conda_lock.py index 5d0c442a..287537a8 100644 --- a/tests/test_conda_lock.py +++ b/tests/test_conda_lock.py @@ -2594,20 +2594,13 @@ def test_fake_conda_env(conda_exe: str, conda_lock_yaml: Path): expected_channel = "conda-forge" expected_base_url = "https://conda.anaconda.org/conda-forge" if is_micromamba(conda_exe): - dist_name = env_package["dist_name"] assert env_package["base_url"] in { f"{expected_base_url}/{platform}", expected_base_url, - # - f"{expected_base_url}/{platform}/{dist_name}.conda", - f"{expected_base_url}/{platform}/{dist_name}.tar.bz2", } assert env_package["channel"] in { f"{expected_channel}/{platform}", expected_channel, - # - f"{expected_channel}/{platform}/{dist_name}.conda", - f"{expected_channel}/{platform}/{dist_name}.tar.bz2", } else: assert env_package["base_url"] == expected_base_url