Show More
@@ -16,7 +16,7 b' b64_image_data = {' | |||
|
16 | 16 | casper.notebook_test(function () { |
|
17 | 17 | this.test_img_shape = function(fmt, retina) { |
|
18 | 18 | this.thenEvaluate(function (b64data, retina) { |
|
19 |
IPython.notebook.insert_cell_at_index( |
|
|
19 | IPython.notebook.insert_cell_at_index("code", 0); | |
|
20 | 20 | var cell = IPython.notebook.get_cell(0); |
|
21 | 21 | cell.set_text([ |
|
22 | 22 | "import base64", |
@@ -10,7 +10,7 b' casper.notebook_test(function () {' | |||
|
10 | 10 | }); |
|
11 | 11 | |
|
12 | 12 | this.thenEvaluate(function (code) { |
|
13 |
IPython.notebook.insert_cell_at_index( |
|
|
13 | IPython.notebook.insert_cell_at_index("code", 0); | |
|
14 | 14 | var cell = IPython.notebook.get_cell(0); |
|
15 | 15 | cell.set_text(code); |
|
16 | 16 | cell.execute(); |
@@ -38,7 +38,7 b' casper.notebook_test(function () {' | |||
|
38 | 38 | }; |
|
39 | 39 | |
|
40 | 40 | this.thenEvaluate(function () { |
|
41 |
IPython.notebook.insert_cell_at_index( |
|
|
41 | IPython.notebook.insert_cell_at_index("code", 0); | |
|
42 | 42 | var cell = IPython.notebook.get_cell(0); |
|
43 | 43 | cell.set_text([ |
|
44 | 44 | "from __future__ import print_function", |
General Comments 0
You need to be logged in to leave comments.
Login now