Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/aio-libs/aiohttp
/ test_basic_auth4
Function
test_basic_auth4
tests/test_helpers.py:67–71 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
66
67
def
test_basic_auth4():
68
auth = helpers.BasicAuth(
'nkim'
,
'pwd'
)
69
assert auth.login ==
'nkim'
70
assert auth.password ==
'pwd'
71
assert auth.encode() ==
'Basic bmtpbTpwd2Q='
72
73
74
def
test_invalid_formdata_params():
Callers
nothing calls this directly
Calls
1
encode
Method · 0.95
Tested by
no test coverage detected