Try to resolve uninstall failure
This commit is contained in:
parent
47cdefcbe8
commit
9debeaf4e7
@ -223,7 +223,7 @@ class TestUninstallFromEnv(object):
|
|||||||
concretize = SpackCommand("concretize")
|
concretize = SpackCommand("concretize")
|
||||||
find = SpackCommand("find")
|
find = SpackCommand("find")
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture(scope="function")
|
||||||
def environment_setup(
|
def environment_setup(
|
||||||
self, mutable_mock_env_path, config, mock_packages, mutable_database, install_mockery
|
self, mutable_mock_env_path, config, mock_packages, mutable_database, install_mockery
|
||||||
):
|
):
|
||||||
@ -242,6 +242,7 @@ def environment_setup(
|
|||||||
TestUninstallFromEnv.add("dt-diamond-bottom")
|
TestUninstallFromEnv.add("dt-diamond-bottom")
|
||||||
TestUninstallFromEnv.concretize()
|
TestUninstallFromEnv.concretize()
|
||||||
install("--fake")
|
install("--fake")
|
||||||
|
yield "environment_setup"
|
||||||
|
|
||||||
def test_basic_env_sanity(self, environment_setup):
|
def test_basic_env_sanity(self, environment_setup):
|
||||||
for env_name in ["e1", "e2"]:
|
for env_name in ["e1", "e2"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user