Merge pull request #40626 from BerriAI/litellm_fix_marketplace_test_request

test(proxy): pass the request to get_marketplace in the archive marketplace test
This commit is contained in:
Mateo Wang 2026-09-10 15:13:06 -07:00 committed by GitHub
commit 4866be56b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -481,7 +481,7 @@ async def test_archive_source_registers_and_is_served_verbatim_in_marketplace():
assert response.action == "created"
assert response.plugin.source == _ARCHIVE_SOURCE
marketplace = json.loads((await get_marketplace()).body)
marketplace = json.loads((await get_marketplace(request=MagicMock())).body)
assert marketplace["plugins"] == [{"name": "s3-skill", "source": _ARCHIVE_SOURCE, "version": "1.0.0"}]