Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Stella committed Feb 12, 2021
1 parent f5510e1 commit e7d8691
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ def test_fields(self, mock_get_current_span):

self.assertEqual(FORMAT.fields, inject_fields)


@patch("opentelemetry.exporter.datadog.propagator.get_current_span")
def test_trace_state_not_none(self, mock_get_current_span):
"""Make sure the fields attribute returns the fields used in inject"""
Expand Down Expand Up @@ -237,6 +236,6 @@ def test_trace_state_not_none(self, mock_get_current_span):

# verify 'x-datadog-origin' is not present, it was None
expected_fields = FORMAT.fields.copy()
expected_fields.discard('x-datadog-origin')
expected_fields.discard("x-datadog-origin")

self.assertEqual(expected_fields, inject_fields)

0 comments on commit e7d8691

Please sign in to comment.