#NEWLINE# @ run_with_all_backends #NEWLINE# def testTopLevelExclusion( self ) : #NEWLINE# #INDENT# '\n        Entire forms tagged as device logs should be excluded\n        ' #NEWLINE# file_path = os . path . join ( os . path . dirname ( __file__ ) , 'data' , 'exclusion' , 'device_report.xml' ) #NEWLINE# with open ( xml_data , 'rb' ) as f : #NEWLINE# #INDENT# xml_data = f . read ( ) #NEWLINE# #UNINDENT# submit_form_locally ( xml_data , TEST_DOMAIN ) #NEWLINE# self . assertEqual ( 0 , len ( CaseAccessors ( TEST_DOMAIN ) . get_case_ids_in_domain ( ) ) )