diff --git a/test.py b/test.py index 2406a13..f72e94c 100644 --- a/test.py +++ b/test.py @@ -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: