#NEWLINE# def test_generate_2arg( self ) : #NEWLINE# #INDENT# 'DSA (default implementation) generated key (2 arguments)' #NEWLINE# dsaObj = self . dsa . generate ( 1024 , Random . new ( ) . read ) #NEWLINE# self . _check_private_key ( pub ) #NEWLINE# pub = dsaObj . publickey ( ) #NEWLINE# self . _check_public_key ( pub )