X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fbindings%2Frmr-python%2Ftests%2Ftest_rmr.py;fp=src%2Fbindings%2Frmr-python%2Ftests%2Ftest_rmr.py;h=dfc136477c23f39d05fb478ab39b9e280f36cf37;hb=369f53b364352e2520fd451a579cbc429e7188e2;hp=87b6c9469a9db00237298ee7fa358485017aca28;hpb=a1c1dc60f3d58d4ffb6bf55598b5134c9d69ca66;p=ric-plt%2Flib%2Frmr.git diff --git a/src/bindings/rmr-python/tests/test_rmr.py b/src/bindings/rmr-python/tests/test_rmr.py index 87b6c94..dfc1364 100644 --- a/src/bindings/rmr-python/tests/test_rmr.py +++ b/src/bindings/rmr-python/tests/test_rmr.py @@ -150,7 +150,7 @@ def test_rmr_set_get(): def test_rcv_timeout(): """ test torcv; this is a scary test because if it fails... it doesn't fail, it will run forever! - We recieve a message (though nothing has been sent) and make sure the function doesn't block forever. + We receive a message (though nothing has been sent) and make sure the function doesn't block forever. There is no unit test for rmr_rcv_msg; too dangerous, that is a blocking call that may never return. """ @@ -185,12 +185,12 @@ def test_send_rcv(): assert send_summary["message status"] == rcv_summary["message status"] == "RMR_OK" # send an ACK back - ack_pay = b"message recieved" + ack_pay = b"message received" rmr.set_payload_and_length(ack_pay, sbuf_rcv) sbuf_rcv = rmr.rmr_rts_msg(MRC_RCV, sbuf_rcv) rcv_ack_summary = rmr.message_summary(sbuf_rcv) - # have the sender recieve it + # have the sender receive it sbuf_send = rmr.rmr_torcv_msg(MRC_SEND, sbuf_send, 2000) send_ack_summary = rmr.message_summary(sbuf_send)