

def test_get_site_ndt_ips_dns_failure(self):
    self.create_mock_dns_lookup_result('ndt.iupui.mlab1.nuq01.measurement-lab.org', '1.1.1.1')
    self.create_mock_dns_lookup_failure('ndt.iupui.mlab2.nuq01.measurement-lab.org')
    self.create_mock_dns_lookup_result('ndt.iupui.mlab3.nuq01.measurement-lab.org', '1.1.1.3')
    self.mock.ReplayAll()
    resolver = mlab.MLabSiteResolver()
    self.assertRaises(mlab.DNSResolutionError, self.get_site_ndt_ips, 'nuq01')

dataset/ETHPy150Open m-lab/telescope/tests/test_mlab.py MLabTest.test_get_site_ndt_ips_dns_failure/VarMisuse@59/168 `resolver`->`self`