mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
Update tests/test_litellm/integrations/test_prometheus_double_counting.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
59f5365127
commit
42861114a7
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ def test_callback_deduplication():
|
|||
# Since we added "prometheus" string twice, it might initialize it twice, but replacing
|
||||
# in-place should lead to correct count matching replaced. Actually the old buggy code
|
||||
# wouldn't remove "prometheus". The new one replaces it.
|
||||
assert len(prometheus_instances) > 0
|
||||
assert len(prometheus_instances) == 1
|
||||
finally:
|
||||
# Restore
|
||||
litellm.callbacks = old_callbacks
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue