#NEWLINE# def test_decrypting_combinations( ) : #NEWLINE# #INDENT# cryptor = Cryptor ( 'my-security-key' ) #NEWLINE# for test in DECRYPT_TESTS : #NEWLINE# #INDENT# base_copy = copy . copy ( BASE_PARAMS ) #NEWLINE# base_copy . update ( test [ 'params' ] ) #NEWLINE# encrypted = cryptor . encrypt ( ** base_copy ) #NEWLINE# ( yield ( decrypted_result_should_match , cryptor . decrypt ( encrypted ) , test [ 'result' ] ) )