##// END OF EJS Templates
typo
Matthias BUSSONNIER -
Show More
@@ -1,28 +1,28 b''
1 1
2 2 //
3 3 // Miscellaneous javascript tests
4 4 //
5 5 casper.notebook_test(function () {
6 6 this.evaluate(function () {
7 7 IPython.notebook.kernel.kernel_info(
8 8 function(msg){
9 IPyton._kernel_info_response = msg;
9 IPython._kernel_info_response = msg;
10 10 })
11 11 });
12 12
13 13 this.waitFor(
14 14 function () {
15 15 return this.evaluate(function(){
16 16 return IPython._kernel_info_response;
17 17 });
18 18 });
19 19
20 20 this.then(function () {
21 var kernel_info_response= this.evaluate(function(){
21 var kernel_info_response = this.evaluate(function(){
22 22 return IPython._kernel_info_response;
23 23 });
24 24 this.test.assertTrue( kernel_info_response.msg_type === 'kernel_info_reply', 'Kernel info request return kernel_info_reply');
25 25 this.test.assertTrue( kernel_info_response.content !== undefined, 'Kernel_info_reply is not undefined');
26 26 });
27 27
28 28 });
General Comments 0
You need to be logged in to leave comments. Login now