Skip to content

Commit df84ee5

Browse files
committed
Please lint
1 parent 6fff853 commit df84ee5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

instrumentation/opentelemetry-instrumentation-aiohttp-client/tests/test_aiohttp_client_integration.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ async def do_request():
8888
return loop.run_until_complete(do_request())
8989

9090

91+
# pylint: disable=too-many-public-methods
9192
class TestAioHttpIntegration(TestBase):
9293
_test_status_codes = (
9394
(HTTPStatus.OK, StatusCode.UNSET),
@@ -812,7 +813,7 @@ async def request_handler(request):
812813
assert "traceparent" not in request.headers
813814
return aiohttp.web.Response(status=HTTPStatus.OK)
814815

815-
host, port = self._http_request(
816+
self._http_request(
816817
trace_config=aiohttp_client.create_trace_config(),
817818
request_handler=request_handler,
818819
url="/some/path?query=param&other=param2",
@@ -1143,7 +1144,7 @@ def test_ignores_excluded_urls(self):
11431144
AioHttpClientInstrumentor().instrument()
11441145

11451146
url = "/test-path?query=params"
1146-
host, port = run_with_test_server(
1147+
run_with_test_server(
11471148
self.get_default_request(url), url, self.default_handler
11481149
)
11491150
self._assert_spans(0)

0 commit comments

Comments
 (0)