mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
commit
dc2fd94d4e
@ -44,6 +44,8 @@ function check_output_area(output_type, keys) {
|
|||||||
var cell = IPython.notebook.get_cell(1).output_area.fromJSON(json);
|
var cell = IPython.notebook.get_cell(1).output_area.fromJSON(json);
|
||||||
return json;
|
return json;
|
||||||
});
|
});
|
||||||
|
// The evaluate call above happens asyncrhonously: wait for cell[1] to have output
|
||||||
|
this.wait_for_output(1);
|
||||||
var result = this.get_output_cell(0);
|
var result = this.get_output_cell(0);
|
||||||
var result2 = this.get_output_cell(1);
|
var result2 = this.get_output_cell(1);
|
||||||
this.test.assertEquals(result.output_type, output_type,
|
this.test.assertEquals(result.output_type, output_type,
|
||||||
|
Loading…
Reference in New Issue
Block a user