##// END OF EJS Templates
Move “Using existing profile dir” from info to debug:...
Move “Using existing profile dir” from info to debug: Jessica B. Hamrick said: > It’s kind of annoying that it prints out every single time > I guess it’s not so bad when you’re just running the notebook > But for nbconvert you see it a lot

File last commit:

r15202:035332de
r20725:f9738aa8
Show More
misc.js
21 lines | 569 B | application/javascript | JavascriptLexer
//
// Miscellaneous javascript tests
//
casper.notebook_test(function () {
var jsver = this.evaluate(function () {
var cell = IPython.notebook.get_cell(0);
cell.set_text('import IPython; print(IPython.__version__)');
cell.execute();
return IPython.version;
});
this.wait_for_output(0);
// refactor this into just a get_output(0)
this.then(function () {
var result = this.get_output_cell(0);
this.test.assertEquals(result.text.trim(), jsver, 'IPython.version in JS matches IPython.');
});
});