#NEWLINE# def test_widget_view_incomplete( self ) : #NEWLINE# #INDENT# self . node_settings . clear_settings ( ) #NEWLINE# self . node_settings . save ( ) #NEWLINE# assert_false ( self . node_settings . complete ) #NEWLINE# assert_equal ( self . node_settings . list_id , None ) #NEWLINE# url = self . project . api_url_for ( '{0}_widget' . format ( self . ADDON_SHORT_NAME ) ) #NEWLINE# res = self . app . get ( url , auth = res . user . auth ) . json #NEWLINE# assert_false ( res [ 'complete' ] ) #NEWLINE# assert_is_none ( res [ 'list_id' ] )