Fix lint.

This commit is contained in:
Florian Bruhin 2015-08-02 20:16:28 +02:00
parent f8f03ea99d
commit 2190316b27

View File

@ -36,6 +36,7 @@ from qutebrowser.browser import http, rfc6266
]) ])
@hypothesis.given(strategies.text(alphabet=[chr(x) for x in range(255)])) @hypothesis.given(strategies.text(alphabet=[chr(x) for x in range(255)]))
def test_parse_content_disposition(template, stubs, s): def test_parse_content_disposition(template, stubs, s):
"""Test parsing headers based on templates which hypothesis completes."""
header = template.format(s) header = template.format(s)
reply = stubs.FakeNetworkReply(headers={'Content-Disposition': header}) reply = stubs.FakeNetworkReply(headers={'Content-Disposition': header})
http.parse_content_disposition(reply) http.parse_content_disposition(reply)