MCPcopy
hub / github.com/aio-libs/aiohttp / test_basic_auth4

Function test_basic_auth4

tests/test_helpers.py:67–71  ·  tests/test_helpers.py::test_basic_auth4
()

Source from the content-addressed store, hash-verified

65
66
67def test_basic_auth4():
68 auth = helpers.BasicAuth(&class="cm">#x27;nkimclass="st">', 'pwd')
69 assert auth.login == &class="cm">#x27;nkim'
70 assert auth.password == &class="cm">#x27;pwd'
71 assert auth.encode() == &class="cm">#x27;Basic bmtpbTpwd2Q='
72
73
74def test_invalid_formdata_params():

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.95

Tested by

no test coverage detected