Show More
@@ -2,8 +2,9 b'' | |||
|
2 | 2 | // Test shutdown of a kernel. |
|
3 | 3 | // |
|
4 | 4 | casper.notebook_test(function () { |
|
5 | this.test.begin("shutdown tests", 2, function(test) { | |
|
6 | casper.evaluate(function () { | |
|
5 | this.test.begin("shutdown tests (notebook)", 2, function(test) { | |
|
6 | ||
|
7 | casper.thenEvaluate(function () { | |
|
7 | 8 | $('#kill_and_exit').click(); |
|
8 | 9 | }); |
|
9 | 10 | |
@@ -18,8 +19,9 b' casper.notebook_test(function () {' | |||
|
18 | 19 | var result = this.get_output_cell(0); |
|
19 | 20 | test.assertFalsy(result, "after shutdown: no execution results"); |
|
20 | 21 | test.assertNot(this.kernel_running(), |
|
21 | 'after shutdown: IPython.notebook.kernel is false '); | |
|
22 | }); | |
|
22 | 'after shutdown: IPython.notebook.kernel.running is false '); | |
|
23 | 23 | }); |
|
24 | 24 | |
|
25 | 25 | }); |
|
26 | }); | |
|
27 |
General Comments 0
You need to be logged in to leave comments.
Login now