mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: Event stream test incomplete (#2152)
Solution: Complete the test by checking connection status returned in the 'result' field
This commit is contained in:
parent
358899b3b1
commit
cffd68f7cf
@ -78,4 +78,5 @@ async def test_subscribe_events(tendermint_ws_url):
|
|||||||
msg_data_dict = json.loads(msg.data)
|
msg_data_dict = json.loads(msg.data)
|
||||||
assert msg_data_dict['id'] == stream_id
|
assert msg_data_dict['id'] == stream_id
|
||||||
assert msg_data_dict['jsonrpc'] == '2.0'
|
assert msg_data_dict['jsonrpc'] == '2.0'
|
||||||
|
assert msg_data_dict['result'] == {}
|
||||||
# TODO What else should be there? Right now, getting error.
|
# TODO What else should be there? Right now, getting error.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user