##// END OF EJS Templates
Merge pull request #7379 from juhasch/js-tests...
Min RK -
r19816:4b2be133 merge
parent child Browse files
Show More
@@ -16,7 +16,7 b' b64_image_data = {'
16 casper.notebook_test(function () {
16 casper.notebook_test(function () {
17 this.test_img_shape = function(fmt, retina) {
17 this.test_img_shape = function(fmt, retina) {
18 this.thenEvaluate(function (b64data, retina) {
18 this.thenEvaluate(function (b64data, retina) {
19 IPython.notebook.insert_cell_at_index(0, "code");
19 IPython.notebook.insert_cell_at_index("code", 0);
20 var cell = IPython.notebook.get_cell(0);
20 var cell = IPython.notebook.get_cell(0);
21 cell.set_text([
21 cell.set_text([
22 "import base64",
22 "import base64",
@@ -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