From 5ab19c44ce98cd35f5af5b2704b25bc4a449418c Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 18 Aug 2003 06:49:00 +0000 Subject: [PATCH] Added test for new snarfing output. --- test/test_Gameknot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_Gameknot.py b/test/test_Gameknot.py index 5a31ab4ee..41e168d2b 100644 --- a/test/test_Gameknot.py +++ b/test/test_Gameknot.py @@ -45,6 +45,10 @@ class GameknotTestCase(PluginTestCase): self.assertRegexp('http://gameknot.com/stats.pl?ddipaolo&1', r'^[^&]+$') + def testSnarfer(self): + self.assertRegexp('http://gameknot.com/chess.pl?bd=907498', + '\x02ddipaolo\x02 won') + # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: