Skip to content

Commit

Permalink
Merge pull request #7379 from juhasch/js-tests
Browse files Browse the repository at this point in the history
Js tests
  • Loading branch information
minrk committed Jan 5, 2015
2 parents a9e5b95 + 05e600d commit 4b2be13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion IPython/html/tests/notebook/display_image.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ b64_image_data = {
casper.notebook_test(function () {
this.test_img_shape = function(fmt, retina) {
this.thenEvaluate(function (b64data, retina) {
IPython.notebook.insert_cell_at_index(0, "code");
IPython.notebook.insert_cell_at_index("code", 0);
var cell = IPython.notebook.get_cell(0);
cell.set_text([
"import base64",
Expand Down
4 changes: 2 additions & 2 deletions IPython/html/tests/notebook/output.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ casper.notebook_test(function () {
});

this.thenEvaluate(function (code) {
IPython.notebook.insert_cell_at_index(0, "code");
IPython.notebook.insert_cell_at_index("code", 0);
var cell = IPython.notebook.get_cell(0);
cell.set_text(code);
cell.execute();
Expand Down Expand Up @@ -38,7 +38,7 @@ casper.notebook_test(function () {
};

this.thenEvaluate(function () {
IPython.notebook.insert_cell_at_index(0, "code");
IPython.notebook.insert_cell_at_index("code", 0);
var cell = IPython.notebook.get_cell(0);
cell.set_text([
"from __future__ import print_function",
Expand Down

0 comments on commit 4b2be13

Please sign in to comment.