Skip to content

Commit

Permalink
fix: extra assertion for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Nov 6, 2024
1 parent c111e5e commit 1f86ef0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/test_contrib/test_opentelemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def handler() -> dict:
}

metric_data = reader.get_metrics_data()
assert metric_data
assert metric_data.resource_metrics

resource_metrics = metric_data.resource_metrics[0]
Expand Down

0 comments on commit 1f86ef0

Please sign in to comment.