Show More
@@ -35,8 +35,10 b' casper.notebook_test(function () {' | |||||
35 | }); |
|
35 | }); | |
36 |
|
36 | |||
37 | this.then(function () { |
|
37 | this.then(function () { | |
38 | var result = this.get_output_cell(0); |
|
38 | var outputs = this.evaluate(function() { | |
39 | this.test.assertFalsy(result, "after shutdown: no execution results"); |
|
39 | return IPython.notebook.get_cell(0).output_area.outputs; | |
|
40 | }) | |||
|
41 | this.test.assertEquals(outputs.length, 0, "after shutdown: no execution results"); | |||
40 | this.test.assertNot(this.kernel_running(), |
|
42 | this.test.assertNot(this.kernel_running(), | |
41 | 'after shutdown: IPython.notebook.kernel.running is false '); |
|
43 | 'after shutdown: IPython.notebook.kernel.running is false '); | |
42 | }); |
|
44 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now