Add some more tests to verify the depluralization efforts. Also split the http

and https snarfer tests into seperate functions.
This commit is contained in:
James Vega 2003-10-16 02:43:44 +00:00
parent a428c6fc91
commit fafa01659c

View File

@ -58,12 +58,34 @@ class SourceforgeTest(PluginTestCase, PluginDocumentation):
self.assertResponse('http://sourceforge.net/tracker/index.php?'\
'func=detail&aid=712761&group_id=58965&atid=489450',
'Feature Request #712761: PyPI searching and announcements')
self.assertResponse('http://sourceforge.net/tracker/index.php?'\
'func=detail&aid=540223&group_id=235&atid=300235',
'Patch #540223: update_idle_times patch')
self.assertResponse('http://sourceforge.net/tracker/index.php?'\
'func=detail&aid=561547&group_id=235&atid=200235',
'Support Request #561547: connecting via proxy')
self.assertResponse('http://sourceforge.net/tracker/index.php?'\
'func=detail&aid=400942&group_id=235&atid=390395',
'Plugin #400942: plugins/gen_away.c -- Generate new away msgs on'\
' the fly.')
def testHttpsSnarfer(self):
self.assertResponse('https://sourceforge.net/tracker/index.php?'\
'func=detail&aid=589953&group_id=58965&atid=489447',
'Bug #589953: Logger doesn\'t log QUITs.')
self.assertResponse('https://sourceforge.net/tracker/index.php?'\
'func=detail&aid=712761&group_id=58965&atid=489450',
'Feature Request #712761: PyPI searching and announcements')
self.assertResponse('https://sourceforge.net/tracker/index.php?'\
'func=detail&aid=540223&group_id=235&atid=300235',
'Patch #540223: update_idle_times patch')
self.assertResponse('https://sourceforge.net/tracker/index.php?'\
'func=detail&aid=561547&group_id=235&atid=200235',
'Support Request #561547: connecting via proxy')
self.assertResponse('http://sourceforge.net/tracker/index.php?'\
'func=detail&aid=400942&group_id=235&atid=390395',
'Plugin #400942: plugins/gen_away.c -- Generate new away msgs on'\
' the fly.')
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: