diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-02-08 04:16:58 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-02-08 04:16:58 +0100 |
commit | fe0ed63c4a3486402f65638b476149ebba752055 (patch) | |
tree | 1739d349e75ccbb1cf2b8ef48aff885fe8711288 /test/http/test_response.py | |
parent | 4873547de3c65ba7c14cace4bca7b17368b2900d (diff) | |
download | mitmproxy-fe0ed63c4a3486402f65638b476149ebba752055.tar.gz mitmproxy-fe0ed63c4a3486402f65638b476149ebba752055.tar.bz2 mitmproxy-fe0ed63c4a3486402f65638b476149ebba752055.zip |
add Serializable ABC
Diffstat (limited to 'test/http/test_response.py')
-rw-r--r-- | test/http/test_response.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http/test_response.py b/test/http/test_response.py index a1f4abd7..c7d90b16 100644 --- a/test/http/test_response.py +++ b/test/http/test_response.py @@ -8,7 +8,7 @@ from .test_message import _test_passthrough_attr, _test_decoded_attr class TestResponseData(object): def test_init(self): - with raises(AssertionError): + with raises(ValueError): tresp(headers="foobar") assert isinstance(tresp(headers=None).headers, Headers) |