ffYddlZddlZddlmZmZGddejZifdZedkrdZ ej d dSdS) N)key_to_englishenglish_to_keyceZdZdZdZdS) RFC1751_Testscgd}|D]c\}}tj|}t|}|||t |}|||ddS)N))EB33F77EE73D4053zTIDE ITCH SLOW REIN RULE MOT) CCAC2AED591056BE4F90FD441C534766z8RASH BUSH MILK LOOK BAD BRIM AVID GAFF BAIT ROT POD LOVE) EFF81F9BFBC65350920CDD7416DE8009z7TROD MUTE TAIL WARM CHAR KONG HAAG CITY BORE O TEAL AWL)binasciia2b_hexr assertEqualr)selfdatakey_hexwordskey_binw2k2s /builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib64/python3.11/site-packages/Crypto/SelfTest/Util/test_rfc1751.pytest1zRFC1751_Tests.test1 s # * *NGU&w//G((B   R ' ' '&&B   R ) ) ) ) * *cH|ttddS)Ns0000000) assertRaises ValueErrorr)rs rtest_error_key_to_englishz'RFC1751_Tests.test_error_key_to_englishs  *nh?????rN)__name__ __module__ __qualname__rrrrrrs7*** @@@@@rrc2ddlm}|t}|S)Nr)list_test_cases)Crypto.SelfTest.st_commonr!r)configr!testss r get_testsr%s(999999 OM * *E Lr__main__cBtjtS)N)unittest TestSuiter%rrrr*%sH&y{{33rsuite) defaultTest) r(r Crypto.Util.RFC1751rrTestCaserr%rr+mainrrrr0s>>>>>>>>@@@@@H%@@@.  z 3 3EHMg&&&&&&r