Skip to content

Commit

Permalink
Fix assert logic for shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoesters committed Dec 3, 2024
1 parent cdbde2c commit 67d08a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def _clean_macos_apps(shortcuts: list[Path]):
print(process.stderr, file=sys.stderr)
assert "menuinst Exception" not in process.stdout
assert list(tmp_path.glob("Menu/*.json"))
assert not any(shortcut.exists() for shortcut in shortcuts)
assert any(shortcut.exists() for shortcut in shortcuts)
process = run_conda(
"remove",
"-vvv",
Expand Down Expand Up @@ -289,7 +289,7 @@ def _clean_macos_apps(shortcuts: list[Path]):
)
print(process.stdout)
print(process.stderr, file=sys.stderr)
assert not any(shortcut.exists() for shortcut in shortcuts)
assert any(shortcut.exists() for shortcut in shortcuts)

process = run_conda(
"constructor",
Expand Down

0 comments on commit 67d08a9

Please sign in to comment.