Skip to content

Commit e8f09c1

Browse files
build(deps): bump twisted from 22.1.0 to 22.2.0 (#1181)
* build(deps): bump twisted from 22.1.0 to 22.2.0 Bumps [twisted](https://github.com/twisted/twisted) from 22.1.0 to 22.2.0. - [Release notes](https://github.com/twisted/twisted/releases) - [Changelog](https://github.com/twisted/twisted/blob/twisted-22.2.0/NEWS.rst) - [Commits](twisted/twisted@twisted-22.1.0...twisted-22.2.0) --- updated-dependencies: - dependency-name: twisted dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * fix linting Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Max Schmitt <max@schmitt.mx>
1 parent 0e672c0 commit e8f09c1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

local-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ requests==2.27.1
1919
service_identity==21.1.0
2020
setuptools==60.9.0
2121
twine==3.8.0
22-
twisted==22.1.0
22+
twisted==22.2.0
2323
types-pyOpenSSL==22.0.0
2424
wheel==0.37.1

tests/sync/test_fetch_browser_context.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ def test_should_support_multipart_form_data(
212212
},
213213
)
214214
assert server_req.value.method == b"POST"
215-
assert server_req.value.getHeader("Content-Type").startswith(
216-
"multipart/form-data; "
217-
)
215+
content_type = server_req.value.getHeader("Content-Type")
216+
assert content_type
217+
assert content_type.startswith("multipart/form-data; ")
218218
assert server_req.value.getHeader("Content-Length") == str(
219219
len(server_req.value.post_body) # type: ignore
220220
)

0 commit comments

Comments
 (0)