Skip to content
Myr

Remove unwanted changes in test_utils.py

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Braulio Valdivielso Martínez · committed by Braulio Valdivielso Martínez · parent 94d4818 · Browse files · 1 file+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−2 removed

  • tests:+1 added−2 removed

1 file+1 added−2 removed

modified:tests/test_utils.py+1 added-2 removed
12 unmodified lines
1314from .compat import StringIO, cStringIO15161717class TestSuperLen:1819 @pytest.mark.parametrize(20 'stream, value', (
129 unmodified lines
150 <meta http-equiv="Content-type" content="text/html;charset=HTML4" />151 '''.strip()152 assert get_encodings_from_content(content) == ['HTML5', 'HTML4', 'XML']153154155USER = PASSWORD = "%!*'();:@&=+$,/?#[] "156ENCODED_USER = compat.quote(USER, '')157ENCODED_PASSWORD = compat.quote(PASSWORD, '')158
69 unmodified lines
228 """Make sure we can select per-host proxies correctly."""229 proxies = {'http': 'http://http.proxy',230 'http://some.host': 'http://some.host.proxy'}231 assert select_proxy(url, proxies) == expected232