Show More
@@ -25,7 +25,7 casper.notebook_test(function() { | |||||
25 | set_cells_text(); |
|
25 | set_cells_text(); | |
26 | var output_above = this.evaluate(function () { |
|
26 | var output_above = this.evaluate(function () { | |
27 | IPython.notebook.merge_cell_above(); |
|
27 | IPython.notebook.merge_cell_above(); | |
28 | return IPython.notebook.get_selected_cell(); |
|
28 | return IPython.notebook.get_selected_cell().get_text(); | |
29 | }); |
|
29 | }); | |
30 |
|
30 | |||
31 | // merge_cell_below() |
|
31 | // merge_cell_below() | |
@@ -33,7 +33,7 casper.notebook_test(function() { | |||||
33 | var output_below = this.evaluate(function() { |
|
33 | var output_below = this.evaluate(function() { | |
34 | IPython.notebook.select(0); |
|
34 | IPython.notebook.select(0); | |
35 | IPython.notebook.merge_cell_below(); |
|
35 | IPython.notebook.merge_cell_below(); | |
36 |
return IPython.notebook.get_selected_cell(); |
|
36 | return IPython.notebook.get_selected_cell().get_text(); | |
37 | }); |
|
37 | }); | |
38 |
|
38 | |||
39 | this.test.assertEquals(output_above, 'a = 5\nprint(a)', |
|
39 | this.test.assertEquals(output_above, 'a = 5\nprint(a)', |
General Comments 0
You need to be logged in to leave comments.
Login now