Remove non-inclusive language (#43)

Addresses #42

TODO: address pylint
This commit is contained in:
Steve Flanders
2020-09-08 20:06:47 -04:00
committed by GitHub
parent eaeb508242
commit ce66c8d458
9 changed files with 32 additions and 32 deletions

View File

@ -117,7 +117,7 @@ class BotocoreTest(BaseTracerTestCase):
self.assertEqual(spans[1].resource, 's3.putobject')
self.assertEqual(spans[1].get_tag('params.Key'), stringify(params['Key']))
self.assertEqual(spans[1].get_tag('params.Bucket'), stringify(params['Bucket']))
# confirm blacklisted
# confirm denylisted
self.assertIsNone(spans[1].get_tag('params.Body'))
@mock_sqs

View File

@ -137,7 +137,7 @@ class TestHeaders(object):
}, span, integration_config)
assert span.get_tag('http.response.headers.content-type') == ' some;value '
def test_no_whitelist(self, span, integration_config):
def test_no_allowlist(self, span, integration_config):
"""
:type span: Span
:type integration_config: IntegrationConfig
@ -147,7 +147,7 @@ class TestHeaders(object):
}, span, integration_config)
assert span.get_tag('http.response.headers.content-type') is None
def test_whitelist_exact(self, span, integration_config):
def test_allowlist_exact(self, span, integration_config):
"""
:type span: Span
:type integration_config: IntegrationConfig
@ -158,7 +158,7 @@ class TestHeaders(object):
}, span, integration_config)
assert span.get_tag('http.response.headers.content-type') == 'some;value'
def test_whitelist_case_insensitive(self, span, integration_config):
def test_allowlist_case_insensitive(self, span, integration_config):
"""
:type span: Span
:type integration_config: IntegrationConfig

View File

@ -47,7 +47,7 @@ class TestHttpConfig(BaseTestCase):
assert http_config.header_is_traced('some_header')
assert not http_config.header_is_traced('some_other_header')
def test_trace_headers_whitelist_case_insensitive(self):
def test_trace_headers_allowlist_case_insensitive(self):
http_config = HttpConfig()
http_config.trace_headers('some_header')
assert http_config.header_is_traced('sOmE_hEaDeR')