Updated the test for the new snarfer default.

This commit is contained in:
Jeremy Fincher 2003-11-19 23:41:54 +00:00
parent 5fe1aeed02
commit 00985ab587
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ class EbayTest(PluginTestCase, PluginDocumentation):
self.assertError('auction foobar')
def testSnarfer(self):
self.assertNotError('ebay config auction-snarfer on')
self.assertRegexp('http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem'
'&category=176&item=3053767552',
r'.*Cisco NP-4T.*Serial Module.*US \$74\.95.*')

View File

@ -59,6 +59,7 @@ class PythonTestCase(PluginTestCase, PluginDocumentation):
self.assertNotError('zen')
def testAspnRecipes(self):
self.assertNotError('python config aspn-snarfer on')
self.assertRegexp('http://aspn.activestate.com/ASPN/Cookbook/Python/'
'Recipe/230113',
'Implementation of sets using sorted lists')