Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewgrossman committed May 25, 2023
1 parent 356cf20 commit 3098165
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ def _custom_response_headers():
resp = flask.Response("test response")
resp.headers["content-type"] = "text/plain; charset=utf-8"
resp.headers["content-length"] = "13"
resp.headers["my-custom-header"] = "my-custom-value-1,my-custom-header-2"
resp.headers[
"my-custom-header"
] = "my-custom-value-1,my-custom-header-2"
resp.headers[
"my-custom-regex-header-1"
] = "my-custom-regex-value-1,my-custom-regex-value-2"
Expand All @@ -101,7 +103,9 @@ def excluded2_endpoint():
self.app.route("/excluded/<int:helloid>")(self._hello_endpoint)
self.app.route("/excluded")(excluded_endpoint)
self.app.route("/excluded2")(excluded2_endpoint)
self.app.route("/test_custom_response_headers")(self._custom_response_headers)
self.app.route("/test_custom_response_headers")(
self._custom_response_headers
)

# pylint: disable=attribute-defined-outside-init
self.client = Client(self.app, Response)

0 comments on commit 3098165

Please sign in to comment.