mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-26 04:32:51 +01:00
DDG: Make tests honor --no-network.
This commit is contained in:
parent
db184f962b
commit
5e90044fab
@ -33,6 +33,8 @@ from supybot.test import *
|
|||||||
class DDGTestCase(PluginTestCase):
|
class DDGTestCase(PluginTestCase):
|
||||||
plugins = ('DDG',)
|
plugins = ('DDG',)
|
||||||
|
|
||||||
|
if network:
|
||||||
|
|
||||||
def testSearch(self):
|
def testSearch(self):
|
||||||
self.assertRegexp(
|
self.assertRegexp(
|
||||||
'ddg search wikipedia', 'Wikipedia.*? - .*?https?\:\/\/')
|
'ddg search wikipedia', 'Wikipedia.*? - .*?https?\:\/\/')
|
||||||
|
Loading…
Reference in New Issue
Block a user