def test_parse_group_management_error_keyerror(ipa_call_error): assert parse_group_management_error(ipa_call_error.pop('failed')) is None
def test_parse_group_management_error_membermanager(ipa_call_error): with pytest.raises(ValidationError): parse_group_management_error(ipa_call_error)