From fafa01659c6229670192ab53064bf2c3eec91c7d Mon Sep 17 00:00:00 2001 From: James Vega Date: Thu, 16 Oct 2003 02:43:44 +0000 Subject: [PATCH] Add some more tests to verify the depluralization efforts. Also split the http and https snarfer tests into seperate functions. --- test/test_Sourceforge.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/test/test_Sourceforge.py b/test/test_Sourceforge.py index 57fde17a6..0bf43198f 100644 --- a/test/test_Sourceforge.py +++ b/test/test_Sourceforge.py @@ -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: