config root man

Current Path : /usr/local/lib/python2.5/test/

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 : //usr/local/lib/python2.5/test/test_winreg.pyo

³ò
h”Rc@sWddkTddkZddkZddklZlZdZddefddefd	d
e	fddd
ddge
fddedƒdefddd-efddd.efgZ
eoŒe
edƒedƒefded
ƒe	fdedƒed
ƒedƒedƒge
fded ƒed!ƒddge
fg7Z
nd"„Zd#„Zd$„Zd%„Zeeƒd&GHy!eieiid'ƒdZWneefj
o
dZnXedj	oayeeeƒZWn'ej
oZd(GeiGHdZnXedj	oeeƒd)GHqSn#d*Gd+GHedeƒZ e i!ƒdS(/iÿÿÿÿ(t*N(tverifythave_unicodes-SOFTWARE\Python Registry Test Key - Delete Mes	Int Valuei-s
String ValsA string valuetStringExpandsThe path is %path%sMulti-stringtLotstoftstringtvaluessRaw Datatbinaryitdatas
Big Stringtxiiis
Big BinarysUnicode ValsA Unicode valuet
UnicodeExpands
Multi-unicodetunicodesMulti-mixedtUnicodetandc
Csgt|ttdƒt|tƒ}t|dƒ}x-tD]%\}}}t||d||ƒq8Wt|ƒ\}}}t|djdƒt|djdƒt|ƒ\}}}t|djdƒt|ttƒjdƒt	|ƒ}	t
|ƒyt|	ƒtd‚Wntj
onXt	|ƒ}
|i
ƒyt|
ƒtd‚Wntj
onXdS(	Ns
Default valuetsub_keyiis"Not the correct number of sub keyss Not the correct number of valuessAIt appears the CloseKey() function does not close the actual key!sBIt appears the key.Close() function does not close the actual key!(tSetValuet
test_key_nametREG_SZt	CreateKeyt	test_datat
SetValueExtQueryInfoKeyRtlentinttCloseKeytRuntimeErrortEnvironmentErrortClose(troot_keytkeyRt
value_namet
value_datat
value_typetnkeystnvaluest	since_modtint_sub_keytint_key((s,/usr/local/lib/python2.5/test/test_winreg.pyt
WriteTestDatas4





cCsit|tƒ}t|djdƒt|tƒ}t|dƒ}d}xJyt||ƒ}Wntj
oPnXt|tjdƒ|d}qIt|ttƒjdƒxLtD]D\}}}t||ƒ\}	}
t|	|jo
|
|jdƒq³W|i	ƒt
|dƒ}	t|	djd	ƒyt
|dƒtdd
ƒWntj
onX|i	ƒdS(Ns
Default values+Registry didn't give back the correct valueRis&Didn't read back the correct test datais'Didn't read the correct number of itemss!Could not directly read the valuesRead subkey value wrongs2Was able to get a second key when I only have one!(t
QueryValueRRtOpenKeyt	EnumValueRRRtQueryValueExRtEnumKey(RtvalRRtindexR	RR R!tread_valtread_typ((s,/usr/local/lib/python2.5/test/test_winreg.pytReadTestDataAs6


c	Cs"t|tdtƒ}t|ddtƒ}x$tD]\}}}t||ƒq1Wt|ƒ\}}}t|djo
|djdƒ|iƒt|dƒyt|dƒtddƒWnt	j
onX|iƒt|tƒy t|tƒ}tddƒWnt
j
onXdS(NiRssubkey not empty before deletes Deleting the key twice succeededsCould open the non-existent key(R)RtKEY_ALL_ACCESSRtDeleteValueRRRt	DeleteKeyRtWindowsError(	RRRRR R!R"R#R$((s,/usr/local/lib/python2.5/test/test_winreg.pytDeleteTestDatads* 




cCs"t|ƒt|ƒt|ƒdS(N(R'R1R6(R((s,/usr/local/lib/python2.5/test/test_winreg.pytTestAlls

sLocal registry tests workeds--remotes)Could not connect to the remote machine -sRemote registry tests workeds)Remote registry calls can be tested usings('test_winreg.py --remote \\machine_name'i@iÿ?i@("t_winregtostsysttest.test_supportRRRt	REG_DWORDRt
REG_EXPAND_SZtREG_MULTI_SZtchrt
REG_BINARYRRR'R1R6R7tHKEY_CURRENT_USERtargvR.tremote_namet
IndexErrort
ValueErrortNonetConnectRegistryt
remote_keyRtexctstrerrortHKEY_LOCAL_MACHINEthR(((s,/usr/local/lib/python2.5/test/test_winreg.pys<module>sN
0/	%	#		
!





Man Man