#NEWLINE# def test_raise_error_for_missing_table( self ) : #NEWLINE# #INDENT# adapter = ErrorRaisingIndicatorSqlAdapter ( self . config ) #NEWLINE# adapter . drop_table ( ) #NEWLINE# doc = { #NEWLINE# #INDENT# '_id' : '123' , #NEWLINE# 'domain' : 'domain' , #NEWLINE# 'doc_type' : 'CommCareCase' , #NEWLINE# 'name' : 'bob' , #NEWLINE# #UNINDENT# } #NEWLINE# with self . assertRaises ( TableNotFoundWarning ) : #NEWLINE# #INDENT# adapter . best_effort_save ( self )