Skip to content

Commit

Permalink
fix(test): remove env var set by snapped testing programs
Browse files Browse the repository at this point in the history
  • Loading branch information
bepri committed Nov 22, 2024
1 parent f618700 commit 2625dd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/services/test_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def test_install_snap(
):
monkeypatch.delenv("SNAP", raising=False)
monkeypatch.delenv("CRAFT_SNAP_CHANNEL", raising=False)
monkeypatch.delenv("SNAP_INSTANCE_NAME", raising=False)
for name, value in environment.items():
monkeypatch.setenv(name, value)
service = provider.ProviderService(
Expand Down

0 comments on commit 2625dd6

Please sign in to comment.