Created
June 5, 2020 20:06
-
-
Save SeyfSV/86bed7224a8b40cfab81ac182affde63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_gh192(self): | |
put_mqmd = pymqi.md() | |
put_mqmd.Format = pymqi.CMQC.MQFMT_STRING | |
put_opts = pymqi.pmo() | |
# Set the MsgType to request. | |
# put_mqmd["MsgType"] = CMQC.MQMT_REQUEST | |
put_mqmd["MsgId"] = b'00002Y0001T1' | |
put_mqmd["CorrelId"] = b'00002Y0001T2' | |
put_opts = pymqi.PMO(Options=pymqi.CMQC.MQPMO_NO_SYNCPOINT | |
+ pymqi.CMQC.MQPMO_FAIL_IF_QUIESCING | |
#+ pymqi.CMQC.MQRO_PASS_CORREL_ID | |
) | |
self.queue.put(b'', put_mqmd, put_opts) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment