Show More
@@ -406,6 +406,15 b' def test_kernel_info_request():' | |||||
406 | validate_message(reply, 'kernel_info_reply', msg_id) |
|
406 | validate_message(reply, 'kernel_info_reply', msg_id) | |
407 |
|
407 | |||
408 |
|
408 | |||
|
409 | def test_single_payload(): | |||
|
410 | flush_channels() | |||
|
411 | msg_id, reply = execute(code="for i in range(3):\n"+ | |||
|
412 | " x=range?\n") | |||
|
413 | payload = reply['payload'] | |||
|
414 | next_input_pls = [pl for pl in payload if pl["source"] == "set_next_input"] | |||
|
415 | nt.assert_equal(len(next_input_pls), 1) | |||
|
416 | ||||
|
417 | ||||
409 | # IOPub channel |
|
418 | # IOPub channel | |
410 |
|
419 | |||
411 |
|
420 |
General Comments 0
You need to be logged in to leave comments.
Login now