async def set_up_class(cls): add_files_extension(settings.CONF_FILE_PATH, [".yml", ".json"], ".temp") asyncio.ensure_future(hb_main()) cls.hb = HummingbotApplication.main_application() await wait_til(lambda: 'Enter "config" to create a bot' in cls.hb.app. output_field.document.text)
async def set_up_class(cls): add_files_extension(settings.CONF_FILE_PATH, [".yml", ".json"], ".temp") asyncio.ensure_future(hb_main()) cls.hb = HummingbotApplication.main_application() await wait_til( lambda: ExchangeRateConversion.get_instance()._ready_notifier. is_set(), 20) await wait_til(lambda: 'Enter "config" to create a bot' in cls.hb.app. output_field.document.text)