mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-02 00:11:06 -05:00
Add in tests.
This commit is contained in:
parent
59620aee24
commit
264f233c51
6
test.py
6
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user