Added whois test.

This commit is contained in:
Jeremy Fincher 2003-09-05 10:58:53 +00:00
parent 5944282355
commit 85fad59aaf

View File

@ -99,6 +99,10 @@ class FunCommandsTest(PluginTestCase):
def testDns(self): def testDns(self):
self.assertNotError('dns slashdot.org') self.assertNotError('dns slashdot.org')
def testWhois(self):
self.assertNotError('whois ohio-state.edu')
self.assertError('whois slashdot.org')
def testDict(self): def testDict(self):
self.assertNotError('dict slash') self.assertNotError('dict slash')
self.assertNotRegexp('dict web1913 slash', 'foldoc') self.assertNotRegexp('dict web1913 slash', 'foldoc')