projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ba3523
)
fixing bad url shortner link
author
Kenneth Reitz
<me@kennethreitz.com>
Sun, 24 Jul 2011 01:48:28 +0000
(21:48 -0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sun, 24 Jul 2011 01:48:28 +0000
(21:48 -0400)
test_requests.py
patch
|
blob
|
history
diff --git
a/test_requests.py
b/test_requests.py
index c3f3395daa096434f1725814a885d0e676212739..f23aa0711579be4ee77419a9bdd64685251aebee 100755
(executable)
--- 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__':