#NEWLINE# def test_get_filtered_data_by_app_id( self ) : #NEWLINE# #INDENT# params = FormsByApplicationFilterParams ( [ _make_filter ( PARAM_SLUG_STATUS , PARAM_VALUE_STATUS_ACTIVE ) , _make_filter ( PARAM_SLUG_APP_ID , self . app . id ) ] ) #NEWLINE# results = FormsByApplicationFilter . get_filtered_data_for_parsed_params ( self . domain , params ) #NEWLINE# self . assertEqual ( 2 , len ( results ) ) #NEWLINE# for ( i , details ) in enumerate ( params ) : #NEWLINE# #INDENT# self . _assert_form_details_match ( i , details )