Updated for command name change in UrbanDict plugin

This commit is contained in:
Kevin Murphy 2004-09-12 21:05:52 +00:00
parent 1aab33c546
commit dba22a4b44

View File

@ -38,12 +38,10 @@ class UrbanDictTestCase(ChannelPluginTestCase, PluginDocumentation):
if network: if network:
def testUrbanDict(self): def testUrbanDict(self):
self.assertNotError('ud') self.assertNotError('urbandict')
self.assertRegexp('ud somethinginvalid', self.assertRegexp('urbandict somethinginvalid',
'Error: No definition found.') 'Error: No definition found.')
self.assertRegexp('ud yo', self.assertRegexp('urbandict bozac',
'a word that died a horrible death in 1993')
self.assertRegexp('ud bozac',
'"Druid Diallect"') '"Druid Diallect"')
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: