mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
fixing bad url shortner link
This commit is contained in:
+2
-2
@@ -9,7 +9,7 @@ import cookielib
|
||||
try:
|
||||
import omnijson as json
|
||||
except ImportError:
|
||||
import simplejson as json
|
||||
import json
|
||||
|
||||
import requests
|
||||
|
||||
@@ -326,7 +326,7 @@ class RequestsTestSuite(unittest.TestCase):
|
||||
|
||||
def test_idna(self):
|
||||
r = requests.get(u'http://➡.ws/httpbin')
|
||||
self.assertEqual(r.url, HTTPBIN_URL)
|
||||
assert 'tinyarrows.com' in r.url
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user