Merge pull request #464 from Nothing4You/fix-tests-01

Use a real inexistent domain for DNS fail testing
This commit is contained in:
Valentin Lorentz 2013-04-13 14:22:30 -07:00
commit 2d89723a6a

View File

@ -35,7 +35,7 @@ class InternetTestCase(PluginTestCase):
if network: if network:
def testDns(self): def testDns(self):
self.assertNotError('dns slashdot.org') self.assertNotError('dns slashdot.org')
self.assertResponse('dns alsdkjfaslkdfjaslkdfj.com', self.assertResponse('dns does.not.exist.',
'Host not found.') 'Host not found.')
def testWhois(self): def testWhois(self):