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