Skip to content
Myr

test tuple'd auth

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 e85b857 · Browse files · 1 file+4 added−0 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+4 added−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:test_requests.py+4 added
168 unmodified lines
169170 r = requests.get(url, auth=auth)171 self.assertEqual(r.status_code, 200)172173 auth = ('user', 'pass')174 r = requests.get(url, auth=auth)175 self.assertEqual(r.status_code, 200)176177 r = requests.get(url)178 self.assertEqual(r.status_code, 401)179180
402 unmodified lines