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

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

src/f/a/fail2ban-HEAD/fail2ban/tests/actiontestcase.py   fail2ban(Download)
import time
 
from ..server.action import CommandAction, CallingMap
 
from .utils import LogCaptureTestCase
	def testCallingMap(self):
		mymap = CallingMap(callme=lambda: str(10), error=lambda: int('a'),
			dontcallme= "string", number=17)
 
		# Should work fine