def METHOD_NAME(self):
    # Missing LDAPURI
    self.assertRaises(MachineResolverError, LdapMachineResolver,
                      "reso2", config={"IDATTRIBUTE": "na"})
    # Missing LDAPBASE
    self.assertRaises(MachineResolverError, LdapMachineResolver,
                      "reso2", config={"LDAPURI": "ldap://1.2.3.4"})
    desc = self.mreso.get_config_description()
    self.assertEqual(desc.get("ldap").get("config").get("LDAPURI"),
                     "string")