mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 20:22:45 +01:00
DDG: Make tests honor --no-network.
This commit is contained in:
parent
db184f962b
commit
5e90044fab
@ -33,8 +33,10 @@ from supybot.test import *
|
||||
class DDGTestCase(PluginTestCase):
|
||||
plugins = ('DDG',)
|
||||
|
||||
def testSearch(self):
|
||||
self.assertRegexp(
|
||||
'ddg search wikipedia', 'Wikipedia.*? - .*?https?\:\/\/')
|
||||
if network:
|
||||
|
||||
def testSearch(self):
|
||||
self.assertRegexp(
|
||||
'ddg search wikipedia', 'Wikipedia.*? - .*?https?\:\/\/')
|
||||
|
||||
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:
|
||||
|
Loading…
Reference in New Issue
Block a user