Current File : //lib/python2.7/site-packages/passlib/tests/test_win32.pyc
�
�
5Xc@sLdZddlZddlmZddlmZdefd��YZdS(s?tests for passlib.win32 -- (c) Assurance Technologies 2003-2009i����N(tTestCase(tutUtilTestcBs)eZdZd�Zd�Zd�ZRS(s test util funcs in passlib.win32cCs'tt|�j�tjdd�dS(Ntignores(the 'passlib.win32' module is deprecated(tsuperRtsetUptwarningstfilterwarnings(tself((s</usr/lib/python2.7/site-packages/passlib/tests/test_win32.pyRs	cCszddlm}xcdtd�fdtd�fdtd�fgD].\}}||d	t�}|j||�qDWdS(
Ni����(t
raw_lmhashtOLDPASSWORDt c9b81d939d6fd80cd408e6b105741864tNEWPASSWORDt 09eeab5aa415d6e4d408e6b105741864twelcomet c23413a8a1e7665faad3b435b51404eethex(t
passlib.win32R	RtTruetassertEqual(RR	tsecretthashtresult((s</usr/lib/python2.7/site-packages/passlib/tests/test_win32.pyttest_lmhashscCs{tjdd�ddlm}xTdtd�fdtd�fgD].\}}||d	t�}|j||�qEWdS(
NRs$nthash\.raw_nthash\(\) is deprecatedi����(t
raw_nthashR
t 6677b2c394311355b54f25eec5bfacf5Rt 256781a62031289d3c2c98c14f1efc8cR(RRRRRRR(RRRRR((s</usr/lib/python2.7/site-packages/passlib/tests/test_win32.pyttest_nthash%s	(t__name__t
__module__t__doc__RRR(((s</usr/lib/python2.7/site-packages/passlib/tests/test_win32.pyRs		
(RRtpasslib.tests.utilsRtpasslib.utils.compatRR(((s</usr/lib/python2.7/site-packages/passlib/tests/test_win32.pyt<module>s