From 2edda29448a9530059b9d6f772ba1e9a92371e7b Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 23 Jul 2011 21:48:28 -0400 Subject: [PATCH] fixing bad url shortner link --- test_requests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_requests.py b/test_requests.py index c3f3395d..f23aa071 100755 --- a/test_requests.py +++ b/test_requests.py @@ -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__':