Skip to content

Commit 854b02a

Browse files
committed
Please pylint
1 parent b27545b commit 854b02a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

instrumentation/opentelemetry-instrumentation-fastapi/tests/test_fastapi_instrumentation.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -1073,15 +1073,19 @@ def test_instruments_with_fastapi_installed(self, mock_version):
10731073
self.assertEqual(ep.name, "fastapi")
10741074

10751075
@patch("opentelemetry.instrumentation.dependencies.version")
1076-
def test_instruments_with_old_fastapi_installed(self, mock_version):
1076+
def test_instruments_with_old_fastapi_installed(
1077+
self, mock_version
1078+
): # pylint: disable=no-self-use
10771079
mock_version.side_effect = mock_version_with_old_fastapi
10781080
mock_distro = Mock()
10791081
_load_instrumentors(mock_distro)
10801082
mock_version.assert_called_once_with("fastapi")
10811083
mock_distro.load_instrumentor.assert_not_called()
10821084

10831085
@patch("opentelemetry.instrumentation.dependencies.version")
1084-
def test_instruments_without_fastapi_installed(self, mock_version):
1086+
def test_instruments_without_fastapi_installed(
1087+
self, mock_version
1088+
): # pylint: disable=no-self-use
10851089
mock_version.side_effect = mock_version_without_fastapi
10861090
mock_distro = Mock()
10871091
_load_instrumentors(mock_distro)

0 commit comments

Comments
 (0)