From 9fa906d3548362944e60f1c14fac70fc392dc57b 2013-10-17 21:09:11 From: MinRK Date: 2013-10-17 21:09:11 Subject: [PATCH] ensure test_no_kernels runs first since it expects a clean notebook server. --- diff --git a/IPython/html/services/kernels/tests/test_kernels_api.py b/IPython/html/services/kernels/tests/test_kernels_api.py index d04a577..707bdf1 100644 --- a/IPython/html/services/kernels/tests/test_kernels_api.py +++ b/IPython/html/services/kernels/tests/test_kernels_api.py @@ -21,7 +21,7 @@ class KernelAPITest(NotebookTestBase): r = requests.post(self.base_url()) return r.json() - def test_no_kernels(self): + def test__no_kernels(self): """Make sure there are no kernels running at the start""" url = self.base_url() r = requests.get(url) @@ -51,4 +51,4 @@ class KernelAPITest(NotebookTestBase): r = requests.delete(url) self.assertEqual(r.status_code, 204) r = requests.get(self.base_url()) - self.assertEqual(r.json(), []) \ No newline at end of file + self.assertEqual(r.json(), [])