From 00985ab587978ebe17bf1bd25f1cd38a9c85b233 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 19 Nov 2003 23:41:54 +0000 Subject: [PATCH] Updated the test for the new snarfer default. --- test/test_Ebay.py | 1 + test/test_Python.py | 1 + 2 files changed, 2 insertions(+) diff --git a/test/test_Ebay.py b/test/test_Ebay.py index 7454717b8..970850a16 100644 --- a/test/test_Ebay.py +++ b/test/test_Ebay.py @@ -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.*') diff --git a/test/test_Python.py b/test/test_Python.py index 772b5f76b..87aa57fcd 100644 --- a/test/test_Python.py +++ b/test/test_Python.py @@ -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')