Skip to content
Myr

fixing bad url shortner link

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 6ba3523 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:test_requests.py+2 added-2 removed
7 unmodified lines
89try:10 import omnijson as json11except ImportError:12 import simplejson as json12 import json1314import requests1516
308 unmodified lines
325 self.assertEquals(rbody.get('data'), 'foobar')326327 def test_idna(self):328 r = requests.get(u'http://➡.ws/httpbin')329 self.assertEqual(r.url, HTTPBIN_URL)329 assert 'tinyarrows.com' in r.url330331332if __name__ == '__main__':333 unittest.main()