I added a BaseModule class to protocol_tests/init.py which is extended by the discover_features, issue_credential, and present_proof protocols. The BaseModule contains code to properly send and receive the ~thread decorator.
Prior to this fix, the ~thread decorator was manually handled in each case. Sometimes it was correct but often it was not sending the sender_order or received_orders fields at all. It also was not checking for correctness for incoming messages. These changes address this for these protocols.
I added a BaseModule class to protocol_tests/init.py which is extended by the discover_features, issue_credential, and present_proof protocols. The BaseModule contains code to properly send and receive the ~thread decorator.
Prior to this fix, the ~thread decorator was manually handled in each case. Sometimes it was correct but often it was not sending the sender_order or received_orders fields at all. It also was not checking for correctness for incoming messages. These changes address this for these protocols.
Signed-off-by: Keith Smith bksmith@us.ibm.com