Added test for new snarfing output.

This commit is contained in:
Jeremy Fincher 2003-08-18 06:49:00 +00:00
parent 6025ecac05
commit 5ab19c44ce

View File

@ -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: