mirror of https://github.com/mamba-org/mamba.git
Remove unmaintained and broken pytest-lazy-fixture (#3193)
Remove pytest-lazy-fixtures
This commit is contained in:
parent
00219a578e
commit
3a6d010e38
|
@ -28,7 +28,6 @@ dependencies:
|
|||
- mitmproxy
|
||||
- pytest >=7.3.0
|
||||
- pytest-asyncio
|
||||
- pytest-lazy-fixture
|
||||
- pytest-xprocess
|
||||
- requests
|
||||
- sel(win): pywin32
|
||||
|
|
|
@ -248,8 +248,13 @@ def same_repodata_json_solv(cache: Path):
|
|||
|
||||
|
||||
class TestMultiplePkgCaches:
|
||||
@pytest.mark.parametrize("cache", (pytest.lazy_fixture(("tmp_cache", "tmp_cache_alt"))))
|
||||
def test_different_caches(self, tmp_home, tmp_root_prefix, cache):
|
||||
@pytest.mark.parametrize("which_cache", ["tmp_cache", "tmp_cache_alt"])
|
||||
def test_different_caches(
|
||||
self, tmp_home, tmp_root_prefix, tmp_cache, tmp_cache_alt, which_cache
|
||||
):
|
||||
# Test parametrization
|
||||
cache = {"tmp_cache": tmp_cache, "tmp_cache_alt": tmp_cache_alt}[which_cache]
|
||||
|
||||
os.environ["CONDA_PKGS_DIRS"] = f"{cache}"
|
||||
env_name = "some_env"
|
||||
res = helpers.create("-n", env_name, "xtensor", "-v", "--json", no_dry_run=True)
|
||||
|
|
Loading…
Reference in New Issue