Skip to content

Commit 16ac4b2

Browse files
committed
Fix linting problems
1 parent 03b83ae commit 16ac4b2

File tree

1 file changed

+2
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-pika/tests

1 file changed

+2
-1
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-pika/tests/test_utils.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,10 @@ def test_decorate_basic_publish_no_properties(
281281
inject.assert_called_once_with(basic_properties.return_value.headers)
282282
self.assertEqual(retval, callback.return_value)
283283

284+
@staticmethod
284285
@mock.patch("opentelemetry.instrumentation.pika.utils._get_span")
285286
def test_decorate_basic_publish_published_message_to_queue(
286-
self, get_span: mock.MagicMock,
287+
get_span: mock.MagicMock,
287288
) -> None:
288289
callback = mock.MagicMock()
289290
tracer = mock.MagicMock()

0 commit comments

Comments
 (0)