Skip to content
Myr

test entry points

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 958c424 · Browse files · 1 file+13 added−1 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+13 added−1 removed

  • other:+13 added−1 removed

1 file+13 added−1 removed

modified:test_requests.py+13 added-1 removed
56 unmodified lines
57 def tearDown(self):58 """Teardown."""59 # self.httpbin.kill()6061 def test_entry_points(self):62 import requests6364 requests.session65 requests.session().get66 requests.session().head67 requests.get68 requests.head69 requests.put70 requests.patch71 requests.post72737475 def test_invalid_url(self):76 self.assertRaises(ValueError, requests.get, 'hiwpefhipowhefopw')776578 def test_HTTP_200_OK_GET(self):79 r = requests.get(httpbin('/get'))80 self.assertEqual(r.status_code, 200)81
431 unmodified lines