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:
Devin AI 2026-09-15 19:46:48 +00:00
parent 47f56ff1ef
commit 4c23d0d2c8
2 changed files with 6 additions and 1 deletions

View file

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

View file

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