Skip to content

Commit

Permalink
removed redudant requests instrumentor
Browse files Browse the repository at this point in the history
  • Loading branch information
HiveTraum committed May 28, 2020
1 parent 8e51567 commit ef2d129
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,5 @@ def test_custom_tracer_provider(self):
self.assertIs(span.resource, resource)

def test_if_headers_equals_none(self):
RequestsInstrumentor().uninstrument()
RequestsInstrumentor().instrument(tracer_provider=TracerProvider())

result = requests.get(self.URL, headers=None)
self.assertEqual(result.text, "Hello!")

0 comments on commit ef2d129

Please sign in to comment.