#NEWLINE# def test_translate_ncbi_table_id( self ) : #NEWLINE# #INDENT# for seq in ( RNA ( 'AAAUUUAUGCAU' ) , DNA ( 'AAATTTATGCAT' ) ) : #NEWLINE# #INDENT# obs = seq . translate ( ) #NEWLINE# self . assertEqual ( obs , Protein ( 'KFMH' ) ) #NEWLINE# obs = seq . translate ( 9 ) #NEWLINE# self . assertEqual ( obs , Protein ( 'NFMH' ) )