Show More
@@ -21,7 +21,7 b' casper.notebook_test(function () {' | |||||
21 | this.then(function () { |
|
21 | this.then(function () { | |
22 | // Check if the widget manager has been instanciated. |
|
22 | // Check if the widget manager has been instanciated. | |
23 | this.test.assert(this.evaluate(function() { |
|
23 | this.test.assert(this.evaluate(function() { | |
24 | return IPython.widget_manager != undefined; |
|
24 | return IPython.notebook.kernel.widget_manager != undefined; | |
25 | }), 'Notebook widget manager instanciated'); |
|
25 | }), 'Notebook widget manager instanciated'); | |
26 | }); |
|
26 | }); | |
27 |
|
27 | |||
@@ -72,5 +72,5 b' casper.notebook_test(function () {' | |||||
72 | // We also need to verify that the last state sent was correct. |
|
72 | // We also need to verify that the last state sent was correct. | |
73 | var last_state = this.get_output_cell(throttle_index, i).text; |
|
73 | var last_state = this.get_output_cell(throttle_index, i).text; | |
74 | this.test.assert(last_state == "20\n", "Last state sent when throttling."); |
|
74 | this.test.assert(last_state == "20\n", "Last state sent when throttling."); | |
75 | }) |
|
75 | }); | |
76 | }); |
|
76 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now