config root man

Current Path : /compat/linux/proc/self/root/usr/share/fail2ban/testcases/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/share/fail2ban/testcases/sockettestcase.pyc

³ò
E²óSc
@s‘dZdZdZddkZddkZddkZddkZddkZddkl	Z	l
Z
ddklZdei
fd„ƒYZdS(	sSteven Hiscockss"Copyright (c) 2013 Steven HiscockstGPLiÿÿÿÿN(tAsyncServertAsyncServerException(tCSockettSocketcBs;eZd„Zd„Zed„ƒZd„Zd„ZRS(cCsNt|ƒ|_tiddƒ\}}ti|ƒti|ƒ||_dS(sCall before every test case.s
fail2ban.socktsocketN(Rtserverttempfiletmkstemptostclosetremovet	sock_name(tselftsock_fdR((s//usr/share/fail2ban/testcases/sockettestcase.pytsetUp!s


cCsdS(sCall after every test case.N((R
((s//usr/share/fail2ban/testcases/sockettestcase.pyttearDown)scCs|S(s<Test transmitter proceed method which just returns first arg((tmessage((s//usr/share/fail2ban/testcases/sockettestcase.pytproceed,scCs¸tid|iid|itfƒ}t|_|iƒti	dƒt
|iƒ}dddg}|i|i|ƒ|ƒ|ii
ƒ|idƒ|itii|iƒƒdS(NttargettargsitAttestR(t	threadingtThreadRtstartRtFalsetTruetdaemonttimetsleepRtassertEqualtsendtstoptjointassertFalseR	tpathtexists(R
tserverThreadtclientttestMessage((s//usr/share/fail2ban/testcases/sockettestcase.pyt
testSocket1s		



cCs¶t|idƒiƒ|it|ii|itƒti	d|iid|it
fƒ}t
|_|iƒti
dƒ|iiƒ|idƒ|itii|iƒƒdS(NtwRRi(topenRR
tassertRaisesRRRRRRRRRRR!R"R#R	R$R%(R
R&((s//usr/share/fail2ban/testcases/sockettestcase.pyttestSocketForce@s		



(t__name__t
__module__RRtstaticmethodRR)R-(((s//usr/share/fail2ban/testcases/sockettestcase.pyRs
			(t
__author__t
__copyright__t__license__tunittestRRR	Rtserver.asyncserverRRtclient.csocketRtTestCaseR(((s//usr/share/fail2ban/testcases/sockettestcase.pys<module>s<

Man Man