Skip to content

Commit

Permalink
test: add assertion to ensure list always has at least the server spans
Browse files Browse the repository at this point in the history
  • Loading branch information
omgitsaheadcrab committed Aug 23, 2024
1 parent 3f36b70 commit 09a2ef4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ def test_exclude_internal_spans(self):
app.exclude_send_span = exclude_send_span
self.send_default_request()
span_list = self.memory_exporter.get_finished_spans()
assert span_list
for span in span_list:
for excluded_span in excluded_spans:
self.assertNotEqual(span.name, excluded_span)
Expand Down

0 comments on commit 09a2ef4

Please sign in to comment.