From f627837496cc5c4cce89968e9b28802b92512aa4 Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 11 Dec 2014 18:39:59 -0800 Subject: [PATCH] DDG/PkgInfo: Update tests From: https://github.com/jlu5/SupyPlugins/commit/f73028a0ed9ba5c4261069294347b8c0e7f9fe41 --- test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test.py b/test.py index 32cfe1a30..3eea5c218 100644 --- a/test.py +++ b/test.py @@ -33,5 +33,8 @@ from supybot.test import * class DDGTestCase(PluginTestCase): plugins = ('DDG',) + def testSearch(self): + self.assertRegexp('ddg search wikipedia', 'Wikipedia.*? - .*?https?\:\/\/') + # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: