##// END OF EJS Templates
language is removed from kernel specs...
Min RK -
Show More
@@ -19,7 +19,6 from IPython.html.tests.launchnotebook import NotebookTestBase, assert_http_erro
19 # break these tests
19 # break these tests
20 sample_kernel_json = {'argv':['cat', '{connection_file}'],
20 sample_kernel_json = {'argv':['cat', '{connection_file}'],
21 'display_name':'Test kernel',
21 'display_name':'Test kernel',
22 'language':'bash',
23 }
22 }
24
23
25 some_resource = u"The very model of a modern major general"
24 some_resource = u"The very model of a modern major general"
@@ -104,7 +103,7 class APITest(NotebookTestBase):
104
103
105 def test_get_kernelspec(self):
104 def test_get_kernelspec(self):
106 spec = self.ks_api.kernel_spec_info('Sample').json() # Case insensitive
105 spec = self.ks_api.kernel_spec_info('Sample').json() # Case insensitive
107 self.assertEqual(spec['language'], 'bash')
106 self.assertEqual(spec['display_name'], 'Test kernel')
108
107
109 def test_get_nonexistant_kernelspec(self):
108 def test_get_nonexistant_kernelspec(self):
110 with assert_http_error(404):
109 with assert_http_error(404):
General Comments 0
You need to be logged in to leave comments. Login now