mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
test(rust): drain logging before request assertions
This commit is contained in:
parent
dbb1d30647
commit
e780aeddd0
1 changed files with 1 additions and 0 deletions
|
|
@ -128,6 +128,7 @@ async def test_generic_guardrail_logging_only_verdict_is_exported_over_http(
|
|||
|
||||
response: Final = await route.invoke(provider, callbacks=[guardrail, logger, recorder])
|
||||
await recorder.wait_for_async("async_log_success_event")
|
||||
await drain_logging()
|
||||
|
||||
scan: Final = provider.requests[1]
|
||||
assert scan.path == "/beta/litellm_basic_guardrail_api"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue