Esempio n. 1
0
 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)
Esempio n. 2
0
 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)
Esempio n. 3
0
    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()
Esempio n. 4
0
 def __init__(self):
     self.env_patch = _test_env()
     self.env_patch.start()
     ProcessApp.__init__(self)
Esempio n. 5
0
 def __init__(self):
     self.env_patch = TestEnv()
     self.env_patch.start()
     ProcessApp.__init__(self)