Fixed bug in selection widget tests.

This commit is contained in:
Jonathan Frederic 2014-01-23 10:58:52 -08:00
parent e793d022b5
commit dc9f81e75d

View File

@ -123,9 +123,8 @@ casper.notebook_test(function () {
index = this.append_cell(
'for widget in selection:\n' +
' widget.values.append("z")\n' +
' widget.send_state()\n' +
' widget.value = "z"');
' widget.values = list(widget.values) + ["z"]\n' +
'selection[0].value = "z"');
this.execute_cell_then(index, function(index){
// Verify that selecting a combobox option updates all of the others.