Skip to content
Myr

Added comment for test test_get_auth_from_url

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

authored by Roberto Migli · committed by Roberto Migli · parent 49fb630 · Browse files · 1 file+1 added−0 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−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:test_requests.py+1 added
1095 unmodified lines
1096 assert address_in_network('192.168.1.1', '192.168.1.0/24')1097 assert not address_in_network('172.16.0.1', '192.168.1.0/24')10981099 def test_get_auth_from_url(self):1100 """ Ensures that username and password in well-encoded URI as per RFC 3986 are correclty extracted """1101 from requests.utils import get_auth_from_url1102 from requests.compat import quote1103 percent_encoding_test_chars = "%!*'();:@&=+$,/?#[] "1104 url_address = "request.com/url.html#test"
66 unmodified lines