Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Mar 22, 2024
1 parent 52e0851 commit 1e8ba91
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# pylint: disable=too-many-lines

import unittest
from timeit import default_timer
from unittest.mock import patch
Expand Down Expand Up @@ -699,11 +701,11 @@ class TestHTTPAppWithCustomHeadersParameters(TestBase):
def setUp(self):
super().setUp()
self.instrumentor = otel_fastapi.FastAPIInstrumentor()
self.kwargs = dict(
http_capture_headers_server_request=["a.*", "b.*"],
http_capture_headers_server_response=["c.*", "d.*"],
http_capture_headers_sanitize_fields=[".*secret.*"],
)
self.kwargs = {
"http_capture_headers_server_request": ["a.*", "b.*"],
"http_capture_headers_server_response": ["c.*", "d.*"],
"http_capture_headers_sanitize_fields": [".*secret.*"],
}
self.app = None

def tearDown(self) -> None:
Expand Down

0 comments on commit 1e8ba91

Please sign in to comment.