Seeks: Honor --no-network in tests.

master
Valentin Lorentz 2013-08-13 17:16:07 +00:00
parent b98e6df4fd
commit f1d0361d7f
1 changed files with 4 additions and 3 deletions

View File

@ -33,9 +33,10 @@ from supybot.test import *
class SeeksTestCase(PluginTestCase):
plugins = ('Seeks',)
def testSearch(self):
self.assertRegexp('seeks search supybot',
'http://sourceforge.net/projects/supybot/')
if network:
def testSearch(self):
self.assertRegexp('seeks search supybot',
'http://sourceforge.net/projects/supybot/')
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: