Added tests for the weather errors-that-shouldn't-be-errors.

This commit is contained in:
Jeremy Fincher 2003-11-20 12:19:05 +00:00
parent e21d7109cb
commit 288c281343

View File

@ -77,6 +77,10 @@ class HttpTest(PluginTestCase, PluginDocumentation):
self.assertNotError('weather 43221') self.assertNotError('weather 43221')
self.assertNotRegexp('weather Paris, FR', 'Virginia') self.assertNotRegexp('weather Paris, FR', 'Virginia')
self.assertError('weather alsdkfjasdl, asdlfkjsadlfkj') self.assertError('weather alsdkfjasdl, asdlfkjsadlfkj')
self.assertNotError('weather London, uk')
self.assertNotError('weather London, UK')
self.assertNotError('weather Munich, de')
self.assertNotError('weather Tucson, AZ')
def testKernel(self): def testKernel(self):
self.assertNotError('kernel') self.assertNotError('kernel')