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)