We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78bdaf2 commit b55a907Copy full SHA for b55a907
tests/unit_tests/observability/test_metrics.py
@@ -310,9 +310,8 @@ class TestReduceOperations:
310
311
def test_empty_states(self):
312
"""Test reduce_metrics_states with empty input."""
313
- metrics, samples = reduce_metrics_states([])
+ metrics = reduce_metrics_states([])
314
assert metrics == []
315
- assert samples == {}
316
317
def test_single_state(self):
318
"""Test reduce_metrics_states with single state."""
@@ -358,7 +357,7 @@ def test_multiple_states(self):
358
357
]
359
metrics = reduce_metrics_states(states)
360
361
- assert len(metrics) == 2
+ assert len(metrics) == 3
362
363
# Convert to dict for easier testing
364
result_dict = {m.key: (m.value, m.reduction) for m in metrics}
0 commit comments