test/spec_semantics: add mock_packages to test_intersects_and_satisfies (#50336)

This commit is contained in:
Tamara Dahlgren 2025-05-06 23:59:16 -07:00 committed by GitHub
parent 3d8f9a7b22
commit 99d849b2e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)