Skip to content

Commit 7558742

Browse files
author
Ryo Kather
committed
Made function name uniform
1 parent 441a0df commit 7558742

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ async def do_request(url):
264264
)
265265
self.memory_exporter.clear()
266266

267-
def test_credentials(self):
267+
def test_credential_removal(self):
268268
trace_configs = [aiohttp_client.create_trace_config()]
269269

270270
url = "http://username:[email protected]/"

instrumentation/opentelemetry-instrumentation-requests/tests/test_requests_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def test_invalid_url(self):
357357
)
358358
self.assertEqual(span.status.status_code, StatusCode.ERROR)
359359

360-
def test_url_credentials(self):
360+
def test_credential_removal(self):
361361
new_url = "http://username:[email protected]/status/200"
362362
self.perform_request(new_url)
363363
span = self.assert_span()

instrumentation/opentelemetry-instrumentation-tornado/tests/test_instrumentation.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,9 @@ def test_response_headers(self):
455455
self.memory_exporter.clear()
456456
set_global_response_propagator(orig)
457457

458+
def test_credential_removal(self):
459+
pass
460+
458461

459462
class TornadoHookTest(TornadoTest):
460463
_client_request_hook = None

instrumentation/opentelemetry-instrumentation-urllib/tests/test_urllib_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def test_requests_timeout_exception(self, *_, **__):
318318
span = self.assert_span()
319319
self.assertEqual(span.status.status_code, StatusCode.ERROR)
320320

321-
def test_credentials_url(self):
321+
def test_credential_removal(self):
322322
url = "http://username:[email protected]/status/200"
323323

324324
with self.assertRaises(Exception):

instrumentation/opentelemetry-instrumentation-urllib3/tests/test_urllib3_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def url_filter(url):
288288
response = self.perform_request(self.HTTP_URL + "?e=mcc")
289289
self.assert_success_span(response, self.HTTP_URL)
290290

291-
def test_url_credential_removal(self):
291+
def test_credential_removal(self):
292292
url = "http://username:[email protected]/status/200"
293293

294294
response = self.perform_request(url)

0 commit comments

Comments
 (0)