Skip to content
Myr

Remove threaded test

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

authored by Cory Benfield · committed by Cory Benfield · parent 15cf194 · Browse files · 1 file+0 added−15 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+0 added−15 removed

  • other:+0 added−15 removed

1 file+0 added−15 removed

modified:test_requests.py-15 removed
446 unmodified lines
447448 r = requests.get(url, auth=auth)449 assert '"auth"' in r.request.headers['Authorization']450451 def test_DIGESTAUTH_THREADED(self, httpbin):452453 auth = HTTPDigestAuth('user', 'pass')454 url = httpbin('digest-auth', 'auth', 'user', 'pass')455 session = requests.Session()456 session.auth=auth457458 def do_request(i):459 r = session.get(url)460 assert '"auth"' in r.request.headers['Authorization']461 return 1462 if ThreadPool is not None:463 pool = ThreadPool(processes=50)464 pool.map(do_request, range(100))465451 def test_POSTBIN_GET_POST_FILES(self, httpbin):452453 url = httpbin('post')454 post1 = requests.post(url).raise_for_status()
1278 unmodified lines