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