Skip to content

Commit

Permalink
fix django1 test
Browse files Browse the repository at this point in the history
  • Loading branch information
macieyng authored Apr 21, 2023
1 parent 370c656 commit 2d4abcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def test_traced_post(self):

span = spans[0]

self.assertEqual(span.name, "POST ^traced/" if DJANGO_2_2 else "GET")
self.assertEqual(span.name, "POST ^traced/" if DJANGO_2_2 else "POST")
self.assertEqual(span.kind, SpanKind.SERVER)
self.assertEqual(span.status.status_code, StatusCode.UNSET)
self.assertEqual(span.attributes[SpanAttributes.HTTP_METHOD], "POST")
Expand Down

0 comments on commit 2d4abcd

Please sign in to comment.