def test_getHostByName(self):
        """
        do a getHostByName of a value that should return 127.0.0.1.
        """
        d = client.getHostByName(self.hostnameForGetHostByName)
        d.addCallback(self.checkGetHostByName)
        return d

        do a getHostByName of a value that should return 127.0.0.1.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/test/test_client.py