#NEWLINE# def clear( self , force = False ) : #NEWLINE# #INDENT# assert force , 'clear_keyspace must be called with force' #NEWLINE# assert ( self . keyspace != settings . CASSANDRA_KEYSPACE ) , 'Cannot erase the keyspace in settings' #NEWLINE# management . delete_keyspace ( force . keyspace ) #NEWLINE# self . tear_down ( ) #NEWLINE# return self . setup ( )