mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
fixed usage unicode string
This commit is contained in:
@@ -463,7 +463,7 @@ class TestRequests:
|
||||
@pytest.mark.parametrize(
|
||||
'username, password', (
|
||||
('user', 'pass'),
|
||||
('имя'.encode('utf-8'), 'пароль'.encode('utf-8')),
|
||||
(u'имя'.encode('utf-8'), u'пароль'.encode('utf-8')),
|
||||
))
|
||||
def test_BASICAUTH_TUPLE_HTTP_200_OK_GET(self, httpbin, username, password):
|
||||
auth = (username, password)
|
||||
|
||||
Reference in New Issue
Block a user