Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/f/a/fail2ban-HEAD/fail2ban/tests/samplestestcase.py   fail2ban(Download)
	next = lambda x: x.next()
 
from ..server.filter import Filter
from ..client.filterreader import FilterReader
from .utils import setUpMyTime, tearDownMyTime
	def setUp(self):
		"""Call before every test case."""
		self.filter = Filter(None)
		self.filter.active = True
 

src/f/a/fail2ban-HEAD/fail2ban/tests/filtertestcase.py   fail2ban(Download)
from ..server.jail import Jail
from ..server.filterpoll import FilterPoll
from ..server.filter import Filter, FileFilter, DNSUtils
from ..server.failmanager import FailManagerEmpty
from ..server.mytime import MyTime
	def setUp(self):
		self.filter = Filter('name')
 
	def testGetSetUseDNS(self):
		# default is warn