Skip to content

Commit d2d6c37

Browse files
committed
update js version test
1 parent 73199f0 commit d2d6c37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_notebook/tests/base/misc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
casper.notebook_test(function () {
66
var jsver = this.evaluate(function () {
77
var cell = IPython.notebook.get_cell(0);
8-
cell.set_text('import IPython; print(IPython.__version__)');
8+
cell.set_text('import jupyter_notebook; print(jupyter_notebook.__version__)');
99
cell.execute();
1010
return IPython.version;
1111
});
@@ -15,7 +15,7 @@ casper.notebook_test(function () {
1515
// refactor this into just a get_output(0)
1616
this.then(function () {
1717
var result = this.get_output_cell(0);
18-
this.test.assertEquals(result.text.trim(), jsver, 'IPython.version in JS matches IPython.');
18+
this.test.assertEquals(result.text.trim(), jsver, 'IPython.version in JS matches server-side.');
1919
});
2020

2121
});

0 commit comments

Comments
 (0)