From 99d849b2e60a09bf1600f1bf63e289869c42f29e Mon Sep 17 00:00:00 2001 From: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Date: Tue, 6 May 2025 23:59:16 -0700 Subject: [PATCH] test/spec_semantics: add mock_packages to test_intersects_and_satisfies (#50336) --- lib/spack/spack/test/spec_semantics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/test/spec_semantics.py b/lib/spack/spack/test/spec_semantics.py index 28788aadf62..70bbb7fb078 100644 --- a/lib/spack/spack/test/spec_semantics.py +++ b/lib/spack/spack/test/spec_semantics.py @@ -1837,7 +1837,7 @@ def test_abstract_contains_semantic(lhs, rhs, expected, mock_packages): (Spec, "mpileaks ^callpath %gcc@5", "mpileaks ^callpath %gcc@5.4", (True, False, True)), ], ) -def test_intersects_and_satisfies(factory, lhs_str, rhs_str, results): +def test_intersects_and_satisfies(mock_packages, factory, lhs_str, rhs_str, results): lhs = factory(lhs_str) rhs = factory(rhs_str)