projects
/
platform
/
upstream
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49fb630
)
Added comment for test test_get_auth_from_url
author
Roberto Migli
<robertomigli@gmail.com>
Mon, 13 Jan 2014 15:29:46 +0000
(16:29 +0100)
committer
Roberto Migli
<robertomigli@gmail.com>
Mon, 13 Jan 2014 15:29:46 +0000
(16:29 +0100)
test_requests.py
patch
|
blob
|
history
diff --git
a/test_requests.py
b/test_requests.py
index
0a73310
..
63897bb
100755
(executable)
--- a/
test_requests.py
+++ b/
test_requests.py
@@
-1097,6
+1097,7
@@
class UtilsTestCase(unittest.TestCase):
assert not address_in_network('172.16.0.1', '192.168.1.0/24')
def test_get_auth_from_url(self):
+ """ Ensures that username and password in well-encoded URI as per RFC 3986 are correclty extracted """
from requests.utils import get_auth_from_url
from requests.compat import quote
percent_encoding_test_chars = "%!*'();:@&=+$,/?#[] "