コード例 #1
0
 def eor(self):
     return CMCMessage.end_of_reply()
コード例 #2
0
ファイル: test_controller.py プロジェクト: elcamlost/checkmk
 def test_controller_end_of_reply(self):
     assert CMCMessage.end_of_reply() == b"fetch:ENDREPL:        :0       :"
コード例 #3
0
 def test_end_of_reply(self):
     message = CMCMessage.end_of_reply()
     assert isinstance(repr(message), str)
     assert CMCMessage.from_bytes(bytes(message)) is message
コード例 #4
0
ファイル: test_protocol.py プロジェクト: bbaumer/checkmk
 def test_end_of_reply(self):
     assert CMCMessage.end_of_reply() is CMCMessage.end_of_reply()