Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-arts committed Nov 4, 2024
1 parent 38faa5b commit ae79a54
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/integration/test_run_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ def test_run_with_activation(pixi: Path, tmp_path: Path) -> None:
ExitCode.SUCCESS,
)

# Run the default task and create cache
verify_cli_command(
[pixi, "run", "--manifest-path", manifest, "task"],
ExitCode.SUCCESS,
stdout_contains="test123",
)

# Modify the environment variable in cache
cache_path = tmp_path.joinpath(".pixi/activation-env-v0/activation_default.json")
with cache_path.open("r+") as f:
Expand Down

0 comments on commit ae79a54

Please sign in to comment.