Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aio-libs/aiohttp
/ test_basic_auth_decode_not_basic
Function
test_basic_auth_decode_not_basic
tests/test_helpers.py:223–225 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
221
222
223
def
test_basic_auth_decode_not_basic() -> None:
224
with
pytest.raises(ValueError):
225
helpers.BasicAuth.decode(
"Complex bmtpbTpwd2Q="
)
226
227
228
def
test_basic_auth_decode_bad_base64() -> None:
Callers
nothing calls this directly
Calls
1
decode
Method · 0.45
Tested by
no test coverage detected