##// END OF EJS Templates
Backport PR #5822: Don't overwrite widget description in interact...
Backport PR #5822: Don't overwrite widget description in interact If an existing widget is used with `interact`, and that widget has a description, then the description should not be overwritten. If it does not have a description, then the name should be used as a default. This is as an alternative to #5653 as discussed in the dev meeting.

File last commit:

r15205:633c7dd8
r16683:a9cb9c1e
Show More
kernel.js
28 lines | 833 B | application/javascript | JavascriptLexer
//
// Miscellaneous javascript tests
//
casper.notebook_test(function () {
this.evaluate(function () {
IPython.notebook.kernel.kernel_info(
function(msg){
IPython._kernel_info_response = msg;
})
});
this.waitFor(
function () {
return this.evaluate(function(){
return IPython._kernel_info_response;
});
});
this.then(function () {
var kernel_info_response = this.evaluate(function(){
return IPython._kernel_info_response;
});
this.test.assertTrue( kernel_info_response.msg_type === 'kernel_info_reply', 'Kernel info request return kernel_info_reply');
this.test.assertTrue( kernel_info_response.content !== undefined, 'Kernel_info_reply is not undefined');
});
});