#NEWLINE# def test_model_as_form( self ) : #NEWLINE# #INDENT# initModel = testModel ( insert_data ) #NEWLINE# thisForm = model_as_form ( testModel , initModel ) #NEWLINE# self . assertEqual ( thisForm [ 'title' ] . data , initModel . title )