fix count test now that builtin.mock.mpileaks has build deps

Signed-off-by: Gregory Becker <becker33@llnl.gov>
This commit is contained in:
Gregory Becker 2025-03-28 13:42:14 -05:00
parent b6f394ed00
commit 441efad2d5
No known key found for this signature in database
GPG Key ID: 2362541F6D14ED84

View File

@ -1305,7 +1305,7 @@ def test_print_install_test_log_failures(
def test_specs_count(install_mockery, mock_packages):
"""Check SpecCounts DAG visitor total matches expected."""
spec = spack.spec.Spec("mpileaks^mpich").concretized()
counter = inst.SpecsCount(dt.LINK | dt.RUN)
counter = inst.SpecsCount(dt.LINK | dt.RUN | dt.BUILD)
number_specs = counter.total([spec])
json = sjson.load(spec.to_json())