unit tests: test_concretization_cache_roundtrip use mock_packages (#50314)

This commit is contained in:
Tamara Dahlgren 2025-05-05 23:06:44 -07:00 committed by GitHub
parent 8ec1369d2b
commit 6219780691
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3105,7 +3105,9 @@ def test_spec_unification(unify, mutable_config, mock_packages):
_ = spack.cmd.parse_specs([a_restricted, b], concretize=True)
def test_concretization_cache_roundtrip(use_concretization_cache, monkeypatch, mutable_config):
def test_concretization_cache_roundtrip(
mock_packages, use_concretization_cache, monkeypatch, mutable_config
):
"""Tests whether we can write the results of a clingo solve to the cache
and load the same spec request from the cache to produce identical specs"""
# Force determinism: