mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-05 18:49:23 +01:00
DDG: add test
This commit is contained in:
parent
5e90044fab
commit
37c1fa2153
@ -38,5 +38,9 @@ class DDGTestCase(PluginTestCase):
|
||||
def testSearch(self):
|
||||
self.assertRegexp(
|
||||
'ddg search wikipedia', 'Wikipedia.*? - .*?https?\:\/\/')
|
||||
self.assertRegexp(
|
||||
'ddg search en.wikipedia.org',
|
||||
'Wikipedia, the free encyclopedia\x02 - '
|
||||
'.* <https://en.wikipedia.org/>')
|
||||
|
||||
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:
|
||||
|
Loading…
Reference in New Issue
Block a user