Add in tests.

This commit is contained in:
spline 2014-10-11 11:37:39 -04:00
parent 9ab2cb1d81
commit 5d32ce789a
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
###
# Copyright (c) 2012-2013, spline
# Copyright (c) 2012-2014, spline
# All rights reserved.
#
#
@ -10,5 +10,9 @@ from supybot.test import *
class UrbanDictionaryTestCase(PluginTestCase):
plugins = ('UrbanDictionary',)
def testUrbanDictionary(self):
conf.supybot.plugins.UrbanDictionary.disableANSI.setValue('True')
self.assertRegexp('urbandictionary hello', 'hello :: what you say when your talking casually with friends and your mom walks in the room')
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: