mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-07 07:58:09 +00:00
test(otel): count the collector's spans with one comprehension clause
This commit is contained in:
parent
0dca18e19a
commit
dfa95e4f05
1 changed files with 1 additions and 1 deletions
|
|
@ -3556,7 +3556,7 @@ class TestLangfuseTenantOnly:
|
|||
emit(logger.tracer_provider)
|
||||
logger.tracer_provider.force_flush()
|
||||
|
||||
assert [span.name for _, exporter in capture.built for span in exporter.get_finished_spans()] == ["chat gpt-4"]
|
||||
assert sum(len(exporter.get_finished_spans()) for _, exporter in capture.built) == 1
|
||||
|
||||
def test_a_key_destinations_logger_is_reused_by_later_requests_without_a_destination(
|
||||
self, monkeypatch: pytest.MonkeyPatch
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue