()
| 167 | |
| 168 | |
| 169 | def test_userinfo_getattribute(): |
| 170 | user = UserInfo({"sub": "1"}) |
| 171 | assert user.sub == "1" |
| 172 | assert user.email is None |
| 173 | with pytest.raises(AttributeError): |
| 174 | user.invalid # noqa: B018 |
| 175 | |
| 176 | |
| 177 | def test_userinfo_validate_locale(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…