From d52c8b90b46a7a063619d9b371d7c4738c521fcc Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 3 Oct 2003 00:25:57 +0000 Subject: [PATCH] Test for multiple regexp matching. --- test/test_Gameknot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_Gameknot.py b/test/test_Gameknot.py index a34c07eb5..c4d5694dd 100644 --- a/test/test_Gameknot.py +++ b/test/test_Gameknot.py @@ -41,6 +41,11 @@ class GameknotTestCase(PluginTestCase, PluginDocumentation): def testUrlSnarfer(self): self.assertNotError('http://gameknot.com/chess.pl?bd=1019508') + self.assertNotError('here\'s a link: ' + 'http://gameknot.com/chess.pl?bd=1077350&r=394 ' + 'and here\'s another one: ' + 'http://gameknot.com/chess.pl?bd=1116828&r=250') + self.assertNotError(' ') # The next snarfed response. self.assertNotRegexp('http://gameknot.com/chess.pl?bd=1019508', self.nick)