oddluck d66a75ecdf Add 'UrbanDictionary/' from commit '4a9829583291a692fc8e33adeb666fd8d2fff793'
git-subtree-dir: UrbanDictionary
git-subtree-mainline: cd5e994b940625ceea7f5e2a510452f7b7df2a35
git-subtree-split: 4a9829583291a692fc8e33adeb666fd8d2fff793
2019-07-14 18:44:27 -04:00

19 lines
476 B
Python

###
# Copyright (c) 2012-2014, spline
# All rights reserved.
#
#
###
from supybot.test import *
class UrbanDictionaryTestCase(PluginTestCase):
plugins = ('UrbanDictionary',)
def testUrbanDictionary(self):
conf.supybot.plugins.UrbanDictionary.disableANSI.setValue('True')
self.assertRegexp('urbandictionary hello', 'hello ::')
self.assertRegexp('urbandictionary spline', 'spline ::')
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: