#NEWLINE# def test_app_bound( self ) : #NEWLINE# #INDENT# db = fsa . SQLAlchemy ( db . app ) #NEWLINE# Todo = make_todo_model ( db ) #NEWLINE# db . create_all ( ) #NEWLINE# todo = Todo ( 'Test' , 'test' ) #NEWLINE# db . session . add ( todo ) #NEWLINE# db . session . commit ( ) #NEWLINE# self . assertEqual ( len ( Todo . query . all ( ) ) , 1 )