mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
test(proxy): update DB row fixtures for created timestamps
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
47f56ff1ef
commit
4c23d0d2c8
2 changed files with 6 additions and 1 deletions
|
|
@ -149,7 +149,11 @@ async def test_environment_credential_matches_native_count_and_observed_scope(
|
|||
if source == "database":
|
||||
monkeypatch.setattr(proxy_server, "llm_router", router)
|
||||
assert proxy_server.ProxyConfig()._add_deployment([SimpleNamespace(
|
||||
model_id=_DEPLOYMENT, model_name="test-native", model_info={}, litellm_params=dict(params),
|
||||
model_id=_DEPLOYMENT,
|
||||
model_name="test-native",
|
||||
model_info={},
|
||||
litellm_params=dict(params),
|
||||
created_at=None,
|
||||
)]) == 1
|
||||
deployment: Final = router.get_deployment(_DEPLOYMENT)
|
||||
assert deployment is not None
|
||||
|
|
|
|||
|
|
@ -501,6 +501,7 @@ async def test_create_access_group_read_through_recovers_model_created_on_siblin
|
|||
litellm_params={"model": "openai/gpt-4o", "api_key": "fake", "mock_response": "hi"},
|
||||
model_info={},
|
||||
blocked=False,
|
||||
created_at=None,
|
||||
)
|
||||
|
||||
mock_router = Router(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue