fix stop-on-error test

pull/37/head
Min RK 11 years ago
parent eb7d0b7e07
commit 0dc618102e

@ -104,10 +104,12 @@ casper.notebook_test(function () {
cell1.execute();
});
this.wait_for_output(1);
this.wait_for_output(0);
this.then(function () {
var result = this.get_output_cell(1);
this.test.assertNotEquals(result.text, '14\n', 'cell execute, stop on error');
var outputs = this.evaluate(function() {
return IPython.notebook.get_cell(1).output_area.outputs;
})
this.test.assertEquals(outputs.length, 0, 'cell execute, stop on error (default)');
});
});

Loading…
Cancel
Save