2014-10-11 10:25:03 -04:00

19 lines
388 B
Python

###
# Copyright (c) 2012-2014, spline
# All rights reserved.
#
#
###
from supybot.test import *
class WeatherTestCase(PluginTestCase):
plugins = ('Weather',)
def testWeather(self):
conf.supybot.plugins.Weather.apiKey.setValue('fc7cb609a45365fa')
self.assertRegexp('wunderground 10002', 'New York, NY')
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: