def METHOD_NAME(self):
    """
    hosts.has_pair
    """
    self.assertTrue(self.run_function("hosts.has_pair", ["127.0.0.1", "myname"]))
    self.assertFalse(
        self.run_function("hosts.has_pair", ["127.0.0.1", "othername"])
    )