def start(self): _install_kernels() self.kernel_manager.default_kernel_name = 'echo' self.lab_config.schemas_dir = self.schemas_dir self.lab_config.user_settings_dir = self.user_settings_dir self.lab_config.workspaces_dir = self.workspaces_dir ProcessApp.start(self)
def initialize_settings(self): self.env_patch = TestEnv() self.env_patch.start() ProcessApp.__init__(self) self.settings['allow_origin'] = ProcessTestApp.allow_origin self.static_dir = self.static_paths[0] self.template_dir = self.template_paths[0] self.schemas_dir = _create_schemas_dir() self.user_settings_dir = _create_user_settings_dir() self.workspaces_dir = _create_workspaces_dir() self._install_default_kernels() self.settings['kernel_manager'].default_kernel_name = 'echo' super().initialize_settings()
def __init__(self): self.env_patch = _test_env() self.env_patch.start() ProcessApp.__init__(self)
def __init__(self): self.env_patch = TestEnv() self.env_patch.start() ProcessApp.__init__(self)