mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Merge pull request #6237 from jasongrout/iptest-profile-dir
Explicitly set the profile directory when running tests
This commit is contained in:
commit
9e2363a657
@ -304,7 +304,7 @@ class JSController(TestController):
|
||||
command.append('--KernelManager.transport=ipc')
|
||||
self.stream_capturer = c = StreamCapturer()
|
||||
c.start()
|
||||
self.server = subprocess.Popen(command, stdout=c.writefd, stderr=subprocess.STDOUT)
|
||||
self.server = subprocess.Popen(command, stdout=c.writefd, stderr=subprocess.STDOUT, cwd=self.nbdir.name)
|
||||
self.server_info_file = os.path.join(self.ipydir.name,
|
||||
'profile_default', 'security', 'nbserver-%i.json' % self.server.pid
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user