Merge pull request #4799 from ivanov/minor-jstest

minor js test fix
This commit is contained in:
Min RK 2014-01-13 18:54:55 -08:00
commit dc2fd94d4e

View File

@ -44,6 +44,8 @@ function check_output_area(output_type, keys) {
var cell = IPython.notebook.get_cell(1).output_area.fromJSON(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 result2 = this.get_output_cell(1);
this.test.assertEquals(result.output_type, output_type,