Don't set location header on restart

the URL doesn't change, it makes no sense.
This commit is contained in:
Min RK 2015-10-15 09:59:41 +02:00
parent 0c5a3b6d04
commit c36158270a

View File

@ -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'])