Skip to content

Commit

Permalink
Update instrumentation/opentelemetry-instrumentation-tornado/tests/te…
Browse files Browse the repository at this point in the history
…st_instrumentation.py

Co-authored-by: (Eliseo) Nathaniel Ruiz Nowell <[email protected]>
  • Loading branch information
owais and NathanielRN committed Sep 29, 2020
1 parent 65b2d19 commit 4bdb84e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,10 @@ def test_traced_attrs(self):
self.fetch("/ping?q=abc&b=123")
spans = self.sorted_spans(self.memory_exporter.get_finished_spans())
self.assertEqual(len(spans), 2)
server = spans[0]
self.assertEqual(server.kind, SpanKind.SERVER)
server_span = spans[0]
self.assertEqual(server_span.kind, SpanKind.SERVER)
self.assert_span_has_attributes(
server, {"uri": "/ping?q=abc&b=123", "query": "q=abc&b=123"}
server_span, {"uri": "/ping?q=abc&b=123", "query": "q=abc&b=123"}
)
self.memory_exporter.clear()

Expand Down

0 comments on commit 4bdb84e

Please sign in to comment.