Skip to content

Commit e09c98d

Browse files
author
Liudmila Molkova
authored
Update instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/test_chat_metrics.py
1 parent f90101a commit e09c98d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

instrumentation-genai/opentelemetry-instrumentation-openai-v2/tests/test_chat_metrics.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ def test_chat_completion_metrics(
112112
assert duration_metric is not None
113113

114114
duration_point = duration_metric.data.data_points[0]
115-
assert duration_point .sum > 0
116-
assert_all_metric_attributes(duration_point )
117-
assert duration_point .explicit_bounds == _DURATION_BUCKETS
115+
assert duration_point.sum > 0
116+
assert_all_metric_attributes(duration_point)
117+
assert duration_point.explicit_bounds == _DURATION_BUCKETS
118118

119119
token_usage_metric = next(
120120
(

0 commit comments

Comments
 (0)