test_env_install_two_specs_same_dep: properly check installed specs (#29222)
This commit is contained in:
parent
f60c6ca485
commit
b20df12d09
1 changed files with 4 additions and 4 deletions
|
@ -291,11 +291,11 @@ def test_env_install_two_specs_same_dep(
|
|||
assert 'depb: Executing phase:' in out
|
||||
assert 'a: Executing phase:' in out
|
||||
|
||||
depb = spack.repo.path.get_pkg_class('depb')
|
||||
assert depb.installed, 'Expected depb to be installed'
|
||||
depb = spack.store.db.query_one('depb', installed=True)
|
||||
assert depb, 'Expected depb to be installed'
|
||||
|
||||
a = spack.repo.path.get_pkg_class('a')
|
||||
assert a.installed, 'Expected a to be installed'
|
||||
a = spack.store.db.query_one('a', installed=True)
|
||||
assert a, 'Expected a to be installed'
|
||||
|
||||
|
||||
def test_remove_after_concretize():
|
||||
|
|
Loading…
Reference in a new issue