We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8ce859 + 3529fb0 commit 3c7b7aaCopy full SHA for 3c7b7aa
tests/mock_vws/utils/assertions.py
@@ -251,7 +251,6 @@ def assert_vwq_failure(
251
)
252
assert response.headers.get('transfer-encoding', 'chunked') == 'chunked'
253
assert response.headers['Connection'] == connection
254
- if 'Content-Length' in response.headers:
255
- assert response.headers['Content-Length'] == str(len(response.text))
+ assert response.headers['Content-Length'] == str(len(response.text))
256
assert_valid_date_header(response=response)
257
assert response.headers['Server'] == 'nginx'
0 commit comments