fixing bad url shortner link

This commit is contained in:
Kenneth Reitz
2011-07-23 21:48:28 -04:00
parent 6ba3523a26
commit 2edda29448
+2 -2
View File
@@ -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__':