mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Don't set location header on restart
the URL doesn't change, it makes no sense.
This commit is contained in:
parent
0c5a3b6d04
commit
c36158270a
@ -114,7 +114,6 @@ class KernelAPITest(NotebookTestBase):
|
||||
|
||||
# Restart a kernel
|
||||
r = self.kern_api.restart(kern2['id'])
|
||||
self.assertEqual(r.headers['Location'], url_path_join(self.url_prefix, 'api/kernels', kern2['id']))
|
||||
rekern = r.json()
|
||||
self.assertEqual(rekern['id'], kern2['id'])
|
||||
self.assertEqual(rekern['name'], kern2['name'])
|
||||
|
Loading…
Reference in New Issue
Block a user