def setUp(self): """ Test setup """ self.client = app.test_client() # Set up the tables in the database Base.metadata.create_all(engine) # Create folder for test uploads os.mkdir(upload_path())
def setUp(self): """ Test setup """ self.client = app.test_client() # Set up the tables in the database Base.metadata.create_all(engine)