##// END OF EJS Templates
fix insert_cell_at_index call in tests
Juergen Hasch -
Show More
@@ -10,7 +10,7 b' casper.notebook_test(function () {'
10 });
10 });
11
11
12 this.thenEvaluate(function (code) {
12 this.thenEvaluate(function (code) {
13 IPython.notebook.insert_cell_at_index(0, "code");
13 IPython.notebook.insert_cell_at_index("code", 0);
14 var cell = IPython.notebook.get_cell(0);
14 var cell = IPython.notebook.get_cell(0);
15 cell.set_text(code);
15 cell.set_text(code);
16 cell.execute();
16 cell.execute();
@@ -38,7 +38,7 b' casper.notebook_test(function () {'
38 };
38 };
39
39
40 this.thenEvaluate(function () {
40 this.thenEvaluate(function () {
41 IPython.notebook.insert_cell_at_index(0, "code");
41 IPython.notebook.insert_cell_at_index("code", 0);
42 var cell = IPython.notebook.get_cell(0);
42 var cell = IPython.notebook.get_cell(0);
43 cell.set_text([
43 cell.set_text([
44 "from __future__ import print_function",
44 "from __future__ import print_function",
General Comments 0
You need to be logged in to leave comments. Login now