Example #1
0
    def _start_jupyterhub(self):
        self.env['CONFIGPROXY_AUTH_TOKEN'] = 'foo'
        self.jupyterhub = start_subprocess(["jupyterhub"],
                                           cwd=self.tempdir,
                                           env=self.env)

        time.sleep(self.startup_wait)
Example #2
0
    def _start_jupyterhub(self):
        self.env['CONFIGPROXY_AUTH_TOKEN'] = 'foo'
        self.jupyterhub = start_subprocess(
            ["jupyterhub"],
            cwd=self.tempdir,
            env=self.env)

        time.sleep(self.startup_wait)
Example #3
0
    def _start_jupyterhub(self, configproxy_auth_token='foo'):
        self.env['CONFIGPROXY_AUTH_TOKEN'] = configproxy_auth_token
        self.jupyterhub = start_subprocess(
            ["jupyterhub"],
            cwd=self.tempdir,
            env=self.env)

        time.sleep(self.startup_wait)
Example #4
0
 def _start_formgrader(self):
     self.formgrader = start_subprocess(["nbgrader", "formgrade"], env=self.env)
     time.sleep(self.startup_wait)
Example #5
0
 def _start_formgrader(self):
     self.formgrader = start_subprocess(["nbgrader", "formgrade"],
                                        env=self.env)
     time.sleep(self.startup_wait)