#NEWLINE# @ classmethod #NEWLINE# def tearDownClass( cls ) : #NEWLINE# #INDENT# con = cls . driver . connect ( host = ENV . host , port = ENV . port , auth_mechanism = ENV . auth_mech ) #NEWLINE# cur = con . cursor ( ) #NEWLINE# if hive : #NEWLINE# #INDENT# force_drop_hive_database ( cur , tmp_db ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# force_drop_impala_database ( cur , tmp_db ) #NEWLINE# #UNINDENT# cur . close ( ) #NEWLINE# con . close ( )