From 264f233c517bee154352f1e03efd1dfb78b7f339 Mon Sep 17 00:00:00 2001 From: spline Date: Sat, 11 Oct 2014 10:20:15 -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 9d3b173..663f1e3 100644 --- a/test.py +++ b/test.py @@ -1,14 +1,18 @@ ### -# Copyright (c) 2012-2013, spline +# Copyright (c) 2012-2014, spline # All rights reserved. # # ### from supybot.test import * +from supybot.utils import stripFormatting class WeatherTestCase(PluginTestCase): plugins = ('Weather',) + def testWeather(self): + self.assertRegexp('wunderground 10002', 'New York, NY') + # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: