From 5d32ce789a5b3779536a7a67fabdddfa8fad6980 Mon Sep 17 00:00:00 2001 From: spline Date: Sat, 11 Oct 2014 11:37:39 -0400 Subject: [PATCH] Add in tests. --- test.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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: