Skip to content
Myr

Revert "Add failing tests for invalid %encodings"

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

This reverts commit e28c1c9bfa286b0badb10ddbbeb1fd965f57cad6.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 3843a40 · Browse files · 1 file+0 added−7 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+0 added−7 removed

  • tests:+0 added−7 removed

1 file+0 added−7 removed

modified:tests/test_requests.py-7 removed
181 unmodified lines
182 # url = httpbin('get/?' + query_unreserved_escaped)183 # response = get(url)184 # self.assertEqual(response.url, httpbin('get/?' + query_unreserved))185186 # We should ignore invalid %encodings187 request = requests.Request("http://0.0.0.0/get/%TEST")188 self.assertEqual(request.path_url, "/get/%TEST")189190 request = requests.Request("http://0.0.0.0/get/%%TEST%%")191 self.assertEqual(request.path_url, "/get/%%TEST%%")192186 def test_user_agent_transfers(self):187 """Issue XX"""188189 heads = {
657 unmodified lines