Skip to content
Myr

added unicode auth test

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

authored by Dmitry Klimenko · committed by GitHub · parent 2185fac · Browse files · 1 file+8 added−3 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+8 added−3 removed

  • tests:+8 added−3 removed

1 file+8 added−3 removed

modified:tests/test_requests.py+8 added-3 removed
458 unmodified lines
459 def test_HTTP_200_OK_PUT(self, httpbin):460 r = requests.put(httpbin('put'))461 assert r.status_code == 200462463 @pytest.mark.parametrize(464 'username, password', (465 ('user', 'pass'),466 ('имя'.encode('utf-8'), 'пароль'.encode('utf-8')),467 ))463 def test_BASICAUTH_TUPLE_HTTP_200_OK_GET(self, httpbin):464 auth = ('user', 'pass')465 url = httpbin('basic-auth', 'user', 'pass')468 def test_BASICAUTH_TUPLE_HTTP_200_OK_GET(self, httpbin, username, password):469 auth = (username, password)470 url = httpbin('basic-auth', username, password)471472 r = requests.get(url, auth=auth)473 assert r.status_code == 200474
1666 unmodified lines