mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-26 20:14:20 +01:00
Updated the test for the new snarfer default.
This commit is contained in:
parent
5fe1aeed02
commit
00985ab587
@ -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.*')
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user