Beispiel #1
0
 def test_pack(self):
     packet = Quit()
     self.assertEqual(b'\x00\x00\x00\x013', packet.pack())
Beispiel #2
0
 def test_quit(self):
     command = Quit()
     response = self._send_command(command.pack())
     self.assertEqual(AckQuit().pack(), response)
Beispiel #3
0
 def test_quit(self):
     command = Quit()
     response = self._send_command(command.pack())
     self.assertEqual(AckQuit().pack(), response)