##// END OF EJS Templates
update js serialize test...
Min RK -
Show More
@@ -110,7 +110,7 b' casper.notebook_test(function () {'
110 110 // validate captured buffers Python-side
111 111 this.then(function () {
112 112 var index = this.append_cell([
113 "assert len(msgs) == 1, len(msgs)",
113 "assert len(msgs) == 3, len(msgs)",
114 114 "bufs = msgs[0]['buffers']",
115 115 "assert len(bufs) == len(buffers), bufs",
116 116 "assert bufs[0].bytes == buffers[0], bufs[0].bytes",
@@ -121,7 +121,7 b' casper.notebook_test(function () {'
121 121 this.wait_for_output(index);
122 122 this.then(function () {
123 123 var out = this.get_output_cell(index);
124 this.test.assertEquals(out['text/plain'], '1', "Python received buffers");
124 this.test.assertEquals(out.data['text/plain'], '1', "Python received buffers");
125 125 });
126 126 });
127 127 });
General Comments 0
You need to be logged in to leave comments. Login now