##// END OF EJS Templates
ensure test_no_kernels runs first...
MinRK -
Show More
@@ -21,7 +21,7 b' class KernelAPITest(NotebookTestBase):'
21 r = requests.post(self.base_url())
21 r = requests.post(self.base_url())
22 return r.json()
22 return r.json()
23
23
24 def test_no_kernels(self):
24 def test__no_kernels(self):
25 """Make sure there are no kernels running at the start"""
25 """Make sure there are no kernels running at the start"""
26 url = self.base_url()
26 url = self.base_url()
27 r = requests.get(url)
27 r = requests.get(url)
@@ -51,4 +51,4 b' class KernelAPITest(NotebookTestBase):'
51 r = requests.delete(url)
51 r = requests.delete(url)
52 self.assertEqual(r.status_code, 204)
52 self.assertEqual(r.status_code, 204)
53 r = requests.get(self.base_url())
53 r = requests.get(self.base_url())
54 self.assertEqual(r.json(), []) No newline at end of file
54 self.assertEqual(r.json(), [])
General Comments 0
You need to be logged in to leave comments. Login now