diff --git a/tests/unit/services/test_provider.py b/tests/unit/services/test_provider.py index d1842ee3..0d113009 100644 --- a/tests/unit/services/test_provider.py +++ b/tests/unit/services/test_provider.py @@ -172,6 +172,9 @@ def test_install_snap( ): monkeypatch.delenv("SNAP", raising=False) monkeypatch.delenv("CRAFT_SNAP_CHANNEL", raising=False) + monkeypatch.delenv("SNAP_INSTANCE_NAME", raising=False) + monkeypatch.delenv("SNAP_NAME", raising=False) + monkeypatch.delenv("CRAFT_SNAP_CHANNEL", raising=False) for name, value in environment.items(): monkeypatch.setenv(name, value) service = provider.ProviderService(