def test_auth_login_response_from_invalid_dict(): with pytest.raises(ValidationError): AuthLogoutResponse.from_dict({"foo": "bar"})
def test_auth_login_response_from_valid_dict(): resp = AuthLogoutResponse.from_dict({}) assert type(resp) == AuthLogoutResponse