Skip to content

Commit

Permalink
fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
SandrineP committed Jan 9, 2025
1 parent 4207ed0 commit 6c4fb53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micromamba/tests/test_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_list_no_json(tmp_home, tmp_root_prefix, tmp_env_name, tmp_xtensor_env,
assert "xtensor" in res
assert "xtl" in res

assert len(res.split("\n")) - 5 == res.count("conda-forge")
assert len(res[res.rindex("\u2500"):].split("\n")) - 2 == res.count("conda-forge")

if reverse_flag == "--reverse":
assert res.find("xtensor") > res.find("xtl")
Expand Down

0 comments on commit 6c4fb53

Please sign in to comment.