X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tests%2Ftest_rmr.py;fp=tests%2Ftest_rmr.py;h=bd3f4f36ff5f7f381c87c480c93d56b66bdbfe14;hb=61c6508543204e10aa105b1a8e940c8c7d604fac;hp=614e839c22a4e257c78d47cd107e82d52c57f67a;hpb=f69200d9073232d5c5094a0a57c847c3b0b6c7ac;p=ric-plt%2Fxapp-frame-py.git diff --git a/tests/test_rmr.py b/tests/test_rmr.py index 614e839..bd3f4f3 100644 --- a/tests/test_rmr.py +++ b/tests/test_rmr.py @@ -388,6 +388,13 @@ def test_wh(): assert send_summary[rmr.RMR_MS_MSG_TYPE] == rcv_summary[rmr.RMR_MS_MSG_TYPE] == mtype assert send_summary[rmr.RMR_MS_PAYLOAD] == rcv_summary[rmr.RMR_MS_PAYLOAD] == payload + sbuf_send = rmr.rmr_alloc_msg(MRC_SEND, SIZE) + _assert_new_sbuf(sbuf_send) + mtype = 1 + sbuf_send.contents.mtype = mtype + payload = b"Birds like worms" + rmr.set_payload_and_length(payload, sbuf_send) + # send without waiting for a response rmr.rmr_wh_send_msg(MRC_SEND, whid, sbuf_send)