#NEWLINE# @ classmethod #NEWLINE# def teardown_class( cls ) : #NEWLINE# #INDENT# hql = ( '\n    USE default;\n    DROP TABLE IF EXISTS %(db)s.tweets;\n    DROP DATABASE %(db)s CASCADE;\n    ' % { #NEWLINE# #INDENT# 'db' : cls . DATABASE , #NEWLINE# #UNINDENT# } ) #NEWLINE# resp = _make_query ( cls . client , hql , database = 'default' , local = False , server_name = 'impala' ) #NEWLINE# resp = wait_for_query_to_finish ( cls . client , resp , max = 180.0 ) #NEWLINE# databases = cls . db . get_databases ( ) #NEWLINE# assert_false ( ( cls . DATABASE in databases ) ) #NEWLINE# assert_false ( ( ( '%(db)s_other' % { #NEWLINE# #INDENT# 'db' : cls . DATABASE , #NEWLINE# #UNINDENT# } ) in databases ) ) #NEWLINE# for f in cls . finish : #NEWLINE# #INDENT# f ( )