##// END OF EJS Templates
a couple more oinfo tests
MinRK -
Show More
@@ -334,6 +334,32 b' def test_oinfo_found():'
334 flush_channels()
334 flush_channels()
335
335
336
336
337 def test_oinfo_detail():
338 shell = KM.shell_channel
339
340 msg_id, reply = execute(code='ip=get_ipython()')
341
342 msg_id = shell.object_info('ip.object_inspect', detail_level=2)
343 reply = shell.get_msg(timeout=2)
344 validate_message(reply, 'object_info_reply', msg_id)
345 content = reply['content']
346 nt.assert_true(content['found'])
347
348 flush_channels()
349
350
351 def test_oinfo_not_found():
352 shell = KM.shell_channel
353
354 msg_id = shell.object_info('dne')
355 reply = shell.get_msg(timeout=2)
356 validate_message(reply, 'object_info_reply', msg_id)
357 content = reply['content']
358 nt.assert_false(content['found'])
359
360 flush_channels()
361
362
337 def test_complete():
363 def test_complete():
338 shell = KM.shell_channel
364 shell = KM.shell_channel
339
365
General Comments 0
You need to be logged in to leave comments. Login now