def test_address_translator_basic(self):
        lh_ad = LocalHostAdressTranslator({'127.0.0.1': '127.0.0.1', '127.0.0.2': '127.0.0.1', '127.0.0.3': '127.0.0.1'})
        c = Cluster(address_translator=lh_ad)
        c.connect()
        self.assertEqual(len(c.metadata.all_hosts()), 1)
        c.shutdown()
Test host address translation
dataset/ETHPy150Open datastax/python-driver/tests/integration/standard/test_cluster.py/TestAddressTranslation.test_address_translator_basic