From 62197806917c4829a9f108f904c357011318e841 Mon Sep 17 00:00:00 2001 From: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Date: Mon, 5 May 2025 23:06:44 -0700 Subject: [PATCH] unit tests: test_concretization_cache_roundtrip use mock_packages (#50314) --- lib/spack/spack/test/concretization/core.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/spack/spack/test/concretization/core.py b/lib/spack/spack/test/concretization/core.py index 4ee0e25f672..aafdc6d05dd 100644 --- a/lib/spack/spack/test/concretization/core.py +++ b/lib/spack/spack/test/concretization/core.py @@ -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: