mirror of https://github.com/mamba-org/mamba.git
parent
d87924b8ff
commit
41bc4ee5f3
|
@ -154,7 +154,7 @@ def tmp_root_prefix(
|
|||
# os.environ restored by tmp_clean_env and tmp_environ
|
||||
|
||||
|
||||
@pytest.fixture(params=[helpers.random_string, "long_prefix_" * 20])
|
||||
@pytest.fixture(params=[helpers.random_string])
|
||||
def tmp_env_name(request) -> str:
|
||||
"""Return the explicit or implicit parametrization."""
|
||||
if callable(request.param):
|
||||
|
|
|
@ -887,3 +887,9 @@ def test_pre_commit_compat(tmp_home, tmp_root_prefix, tmp_path):
|
|||
if pre_commit_log.exists():
|
||||
print(pre_commit_log.read_text())
|
||||
raise
|
||||
|
||||
|
||||
def test_long_path_support(tmp_home, tmp_root_prefix):
|
||||
"""Create an environment with a long name."""
|
||||
res = helpers.create("-n", "long_prefix_" * 20, "--json")
|
||||
assert res["success"]
|
||||
|
|
Loading…
Reference in New Issue