Problem: Event stream test incomplete (#2152)

Solution: Complete the test by checking connection status returned in the 'result' field
This commit is contained in:
Vanshdeep Singh 2018-03-23 20:09:47 +05:30 committed by vrde
parent 358899b3b1
commit cffd68f7cf

View File

@ -78,4 +78,5 @@ async def test_subscribe_events(tendermint_ws_url):
msg_data_dict = json.loads(msg.data)
assert msg_data_dict['id'] == stream_id
assert msg_data_dict['jsonrpc'] == '2.0'
assert msg_data_dict['result'] == {}
# TODO What else should be there? Right now, getting error.