#NEWLINE# def test_dashboard_remove_child( self ) : #NEWLINE# #INDENT# dashboard = mock_dashboard ( 'any_dashboard' ) #NEWLINE# dashboard . remove_child ( '1-first-row' ) #NEWLINE# self . assertEqual ( len ( self . rows ) , 1 ) #NEWLINE# dashboard . remove_child ( '1-second-row' ) #NEWLINE# self . assertEqual ( len ( dashboard . rows ) , 0 ) #NEWLINE# with self . assertRaises ( DocumentNotFound ) : #NEWLINE# #INDENT# dashboard . remove_child ( '1-any-row' )