def setUpClass(cls): cls.client = app.test_client() with app.app_context(): update_db() init_db() chatbot_tools.init_dataset() settings.TESTING = True app.app_context().push()
def initdataset_command(): """Creates the datasets needed for the chatbot.""" init_dataset() print('Initialized the datasets.')
def initdataset_command(): """Creates the datasets needed for the chatbot.""" init_dataset() log.info("Initialized the datasets.")