#NEWLINE# @ raises ( Exception ) #NEWLINE# def test_no_pk( ) : #NEWLINE# #INDENT# ( app , db , admin ) = setup ( ) #NEWLINE# class Model ( db . Model ) : #NEWLINE# #INDENT# test = db . Column ( db . Integer ) #NEWLINE# #UNINDENT# view = CustomModelView ( Model ) #NEWLINE# admin . add_view ( app )