mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 12:12:54 +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):
|
||||
plugins = ('DDG',)
|
||||
|
||||
if network:
|
||||
|
||||
def testSearch(self):
|
||||
self.assertRegexp(
|
||||
'ddg search wikipedia', 'Wikipedia.*? - .*?https?\:\/\/')
|
||||
|
Loading…
Reference in New Issue
Block a user