def METHOD_NAME(self):
    """
    hosts.get_ip
    """
    self.assertEqual(self.run_function("hosts.get_ip", ["myname"]), "127.0.0.1")
    self.assertEqual(self.run_function("hosts.get_ip", ["othername"]), "")
    self.__clear_hosts()
    self.assertEqual(self.run_function("hosts.get_ip", ["othername"]), "")