def tearDown(self): execute_file(self.cursor, os.path.join(os.path.dirname(__file__), 'drop_tables.sql'))
def setUp(self): self.cursor = connection.cursor() execute_file(self.cursor, os.path.join(os.path.dirname(__file__), 'tables.sql')) self.corpus = Corpus()